mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Makefile: condense dependency scanning into one loop
This commit is contained in:
parent
c49dd99a98
commit
b48435bb26
2
Makefile
2
Makefile
|
@ -26,8 +26,6 @@ ROMS := pokered.gbc pokeblue.gbc
|
|||
# generate dependencies for each object
|
||||
$(shell $(foreach obj, $(OBJS), \
|
||||
$(eval $(obj:.o=)_DEPENDENCIES := $(shell $(PYTHON) extras/pokemontools/scan_includes.py $(obj:.o=.asm))) \
|
||||
))
|
||||
$(shell $(foreach obj, $(OBJS), \
|
||||
$(eval ALL_DEPENDENCIES += $($(obj:.o=)_DEPENDENCIES)) \
|
||||
))
|
||||
|
||||
|
|
Loading…
Reference in a new issue