diff options
author | YamaArashi <shadow962@live.com> | 2015-11-13 22:20:00 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-11-13 22:20:00 -0800 |
commit | fa863b11b64c973f60207de8e3384690a510530c (patch) | |
tree | 874c311847336e54c02aabfcf63f156a5890ec19 | |
parent | 4c733f3811d2b1bd35bf0474a79490706a4cd845 (diff) |
phony targets for tools
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 |