use pokemontools scan_includes.py

It might look the same as before, but this new name is much better! Well done!
This commit is contained in:
yenatch
2013-12-20 02:43:35 -05:00
parent cad6f30f83
commit 34d579d9f9
2 changed files with 1 additions and 31 deletions

View File

@@ -29,7 +29,7 @@ ROMS := pokecrystal.gbc
ALL_DEPENDENCIES :=
# generate a list of dependencies for each object file
$(shell $(foreach obj, $(OBJS), \
$(eval $(obj:.o=)_DEPENDENCIES := $(shell $(PYTHON) scan_includes.py $(obj:.o=.asm) | sed s/globals.asm//g)) \
$(eval $(obj:.o=)_DEPENDENCIES := $(shell $(PYTHON) extras/pokemontools/scan_includes.py $(obj:.o=.asm) | sed s/globals.asm//g)) \
))
$(shell $(foreach obj, $(OBJS), \
$(eval ALL_DEPENDENCIES += $($(obj:.o=)_DEPENDENCIES)) \