From 3a89bafd3893995c80fad31e51d8a9e33f2868a8 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Fri, 16 Mar 2007 06:56:58 +0000 Subject: [PATCH] Added a PROJECT_LIBRARIES variable that can be used to add libaries to the .$(TARGET) file --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 5e544a18d..1600e9221 100644 --- a/Makefile.include +++ b/Makefile.include @@ -137,7 +137,7 @@ ifndef LD endif 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 $@ endif