From 8b363d2780eb95afba5f94061611b5d37fc8f7ce Mon Sep 17 00:00:00 2001 From: Brian Tilley Date: Fri, 5 May 2017 10:48:51 -0500 Subject: [PATCH] add USER_LIBS to common.mk --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index b35dbd9..c095d1c 100644 --- a/common.mk +++ b/common.mk @@ -38,7 +38,7 @@ PROGRAM_DIR := $(dir $(firstword $(MAKEFILE_LIST))) # derive various parts of compiler/linker arguments SDK_LIB_ARGS = $(addprefix -l,$(SDK_LIBS)) -LIB_ARGS = $(addprefix -l,$(LIBS)) +LIB_ARGS = $(addprefix -l,$(LIBS) $(USER_LIBS)) PROGRAM_OUT = $(BUILD_DIR)$(PROGRAM).out LDFLAGS += $(addprefix -T,$(LINKER_SCRIPTS))