We actually need PROJECT_OBJECTFILES and PROJECT_LIBRARIES for retro builds too.
This commit is contained in:
parent
9040f83fd4
commit
61b90c0126
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue