ref: b9218d843b1dc1b5ab52bb375c910118865ad112
parent: 493b483490d141459f73be3db887fc0aeb2fdf7e
author: yenatch <yenatch@gmail.com>
date: Sun Dec 8 13:02:29 EST 2013
Makefile: use += to append to variables
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
$(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)