summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-01-27 17:24:19 -0500
committeryenatch <yenatch@gmail.com>2014-01-27 17:27:37 -0500
commitb48435bb260e87bd27cc954eb5f2473c4f80c8f4 (patch)
tree3876483a3482f63b161955309405a6a879c9c676
parentc49dd99a986b58a9a19f6e53c6e132aa5c18c1de (diff)
Makefile: condense dependency scanning into one loop
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9a309790..f7cc2092 100644
--- a/Makefile
+++ b/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)) \
))