summaryrefslogtreecommitdiff
path: root/library.mak
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-10 22:59:37 +0100
committerMans Rullgard <mans@mansr.com>2012-10-10 23:46:31 +0100
commite5c6e9a6f2d0c3de8f5e0c66de793bc20ea3c56c (patch)
tree17a53d334d89c078b963e13639cae64c31c37a73 /library.mak
parent4436f25a1682ada3f7226cb6fadf429946933161 (diff)
build: remove single-use variable THIS_LIB
Replace the single use of THIS_LIB with its value. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'library.mak')
-rw-r--r--library.mak3
1 files changed, 1 insertions, 2 deletions
diff --git a/library.mak b/library.mak
index 7f26984cd0..f715f4a9a8 100644
--- a/library.mak
+++ b/library.mak
@@ -5,7 +5,6 @@ include $(SRC_PATH)/common.mak
LIBVERSION := $(lib$(NAME)_VERSION)
LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
INCINSTDIR := $(INCDIR)/lib$(NAME)
-THIS_LIB := $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
all-$(CONFIG_STATIC): $(SUBDIR)$(LIBNAME)
all-$(CONFIG_SHARED): $(SUBDIR)$(SLIBNAME)
@@ -92,7 +91,7 @@ endef
$(eval $(RULES))
-$(EXAMPLES) $(TOOLS): $(THIS_LIB) $(DEP_LIBS)
+$(EXAMPLES) $(TOOLS): $(DEP_LIBS) $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
$(TESTPROGS): $(SUBDIR)$(LIBNAME) $(DEP_LIBS)
examples: $(EXAMPLES)