From fa863b11b64c973f60207de8e3384690a510530c Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Fri, 13 Nov 2015 22:20:00 -0800 Subject: phony targets for tools --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 0fb91fd7d..062f422ec 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ SHA1 := sha1sum -c .PRECIOUS: %.1bpp %.4bpp %.8bpp %.gbapal %.lz -.PHONY: rom tools clean compare +.PHONY: rom tools gbagfx scaninc clean compare gfx := tools/gbagfx/gbagfx 1bpp := $(gfx) 1bpp @@ -32,7 +32,13 @@ elf := $(rom:.gba=.elf) rom: $(rom) -tools: $(gfx) $(scaninc) +tools: gbagfx scaninc + +gbagfx: + cd tools/gbagfx && make + +scaninc: + cd tools/scaninc && make # For contributors to make sure a change didn't affect the contents of the ROM. compare: $(rom) @@ -59,9 +65,3 @@ include graphics_file_rules.mk $(rom): $(objs) ./pokeld -T ld_script.txt -T wram_syms.txt -o $(elf) $(objs) ./pokeobjcopy -O binary $(elf) $(rom) - -$(gfx): - cd tools/gbagfx && make clean && make - -$(scaninc): - cd tools/scaninc && make clean && make -- cgit v1.2.3