summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 41a620a0..e68fa7ac 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ globals.asm: $(ALL_DEPENDENCIES:.asm=.tx) $(OBJS:.o=.tx)
globals.tx: globals.asm
@cp $< $@
-$(OBJS): $$*.tx $$($$*_DEPENDENCIES$:.asm=.tx)
+$(OBJS): $$*.tx $$(patsubst %.asm, %.tx, $$($$*_DEPENDENCIES))
rgbasm -o $@ $*.tx
pokered.gbc: globals.tx $(RED_OBJS)