Skip to content

Commit 688d55b

Browse files
committed
Quote make invocation too
1 parent 83fbbe8 commit 688d55b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/export/makefile/Makefile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ ifeq (,$(filter .build,$(notdir $(CURDIR))))
1818
.SUFFIXES:
1919
OBJDIR := .build
2020
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
21-
MAKETARGET = $(MAKE) --no-print-directory -C $(OBJDIR) -f $(mkfile_path) \
22-
SRCDIR=$(CURDIR) $(MAKECMDGOALS)
21+
MAKETARGET = '$(MAKE)' --no-print-directory -C $(OBJDIR) -f '$(mkfile_path)' \
22+
'SRCDIR=$(CURDIR)' $(MAKECMDGOALS)
2323
.PHONY: $(OBJDIR) clean
2424
all:
2525
+@$(call MAKEDIR,$(OBJDIR))

0 commit comments

Comments
 (0)