summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-12-08 18:02:29 -0500
committeryenatch <yenatch@gmail.com>2013-12-08 18:02:29 -0500
commitb9218d843b1dc1b5ab52bb375c910118865ad112 (patch)
tree590fdbc935c49ccfaaa6bd2b1c12c95dc591c932
parent493b483490d141459f73be3db887fc0aeb2fdf7e (diff)
Makefile: use += to append to variables
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e68fa7ac..6caf470f 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ $(shell $(foreach obj, $(OBJS), \
$(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 := $(ALL_DEPENDENCIES) $($(obj:.o=)_DEPENDENCIES)) \
+ $(eval ALL_DEPENDENCIES += $($(obj:.o=)_DEPENDENCIES)) \
))
all: $(ROMS)