Added a PROJECT_LIBRARIES variable that can be used to add libaries to the .$(TARGET) file

This commit is contained in:
adamdunkels 2007-03-16 06:56:58 +00:00
parent 7b924672bd
commit 3a89bafd38

View file

@ -137,7 +137,7 @@ ifndef LD
endif endif
ifndef CUSTOM_RULE_LINK ifndef CUSTOM_RULE_LINK
%.$(TARGET): %.co $(PROJECT_OBJECTFILES) contiki-$(TARGET).a %.$(TARGET): %.co $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) contiki-$(TARGET).a
$(LD) $(LDFLAGS) $(TARGET_STARTFILES) $(filter-out %.a,$^) $(filter %.a,$^) $(TARGET_LIBFILES) -o $@ $(LD) $(LDFLAGS) $(TARGET_STARTFILES) $(filter-out %.a,$^) $(filter %.a,$^) $(TARGET_LIBFILES) -o $@
endif endif