We actually need PROJECT_OBJECTFILES and PROJECT_LIBRARIES for retro builds too.

This commit is contained in:
Oliver Schmidt 2013-02-16 22:57:50 +01:00
parent 9040f83fd4
commit 61b90c0126

View File

@ -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