mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
phony targets for tools
This commit is contained in:
parent
4c733f3811
commit
fa863b11b6
16
Makefile
16
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
|
||||
|
Loading…
Reference in New Issue
Block a user