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>
This commit is contained in:
parent
4436f25a16
commit
e5c6e9a6f2
@ -5,7 +5,6 @@ include $(SRC_PATH)/common.mak
|
|||||||
LIBVERSION := $(lib$(NAME)_VERSION)
|
LIBVERSION := $(lib$(NAME)_VERSION)
|
||||||
LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
|
LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
|
||||||
INCINSTDIR := $(INCDIR)/lib$(NAME)
|
INCINSTDIR := $(INCDIR)/lib$(NAME)
|
||||||
THIS_LIB := $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
|
|
||||||
|
|
||||||
all-$(CONFIG_STATIC): $(SUBDIR)$(LIBNAME)
|
all-$(CONFIG_STATIC): $(SUBDIR)$(LIBNAME)
|
||||||
all-$(CONFIG_SHARED): $(SUBDIR)$(SLIBNAME)
|
all-$(CONFIG_SHARED): $(SUBDIR)$(SLIBNAME)
|
||||||
@ -92,7 +91,7 @@ endef
|
|||||||
|
|
||||||
$(eval $(RULES))
|
$(eval $(RULES))
|
||||||
|
|
||||||
$(EXAMPLES) $(TOOLS): $(THIS_LIB) $(DEP_LIBS)
|
$(EXAMPLES) $(TOOLS): $(DEP_LIBS) $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
|
||||||
$(TESTPROGS): $(SUBDIR)$(LIBNAME) $(DEP_LIBS)
|
$(TESTPROGS): $(SUBDIR)$(LIBNAME) $(DEP_LIBS)
|
||||||
|
|
||||||
examples: $(EXAMPLES)
|
examples: $(EXAMPLES)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user