From 61b90c0126bdce67624713119c13bff86c4a4477 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Sat, 16 Feb 2013 22:57:50 +0100 Subject: [PATCH] We actually need PROJECT_OBJECTFILES and PROJECT_LIBRARIES for retro builds too. --- cpu/6502/Makefile.6502 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/6502/Makefile.6502 b/cpu/6502/Makefile.6502 index 4d5c53a35..fc185c2a5 100644 --- a/cpu/6502/Makefile.6502 +++ b/cpu/6502/Makefile.6502 @@ -83,7 +83,7 @@ CUSTOM_RULE_C_TO_CO = 1 $(CC) -c -o $@ $(CFLAGS) -DAUTOSTART_ENABLE --create-dep $(@:.o=.d) $< CUSTOM_RULE_LINK = 1 -%.$(TARGET): %.co contiki-$(TARGET).a +%.$(TARGET): %.co $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) contiki-$(TARGET).a $(LD) -o $@ $(LDFLAGS) -u _main $^ $(TARGET).lib %.eth: $(OBJECTDIR)/%.o