From 5d65c77bd0b356c2d5659e6029f712131bb697b6 Mon Sep 17 00:00:00 2001 From: Tauwasser Date: Sun, 3 Jun 2018 22:11:44 +0200 Subject: Makefile: quote make variable If people use absolute paths to other tools, they can quote in environment variables. MAKE was the only variable not under user control. Signed-off-by: Tauwasser --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7f7346b..0db6498 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ compare: $(ROM) $(CORRECTEDROM) .PHONY: tools tools tools/pkmncompress tools/gfx: - $(MAKE) -C tools/ + "$(MAKE)" -C tools/ .PHONY: coverage coverage: tools/disasm_coverage.py $(ROM) @@ -52,7 +52,7 @@ coverage: tools/disasm_coverage.py $(ROM) .PHONY: clean clean: rm -rf $(ROM) $(CORRECTEDROM) $(BUILD) $(ROMS:.gb=.sym) $(ROMS:.gb=.map) - make -C tools clean + "$(MAKE)" -C tools clean # Remove files except for graphics. .PHONY: mostlyclean -- cgit v1.2.3