aboutsummaryrefslogtreecommitdiffstats
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-04-07 22:17:47 +0000
committerMåns Rullgård <mans@mansr.com>2008-04-07 22:17:47 +0000
commit8e255b8bda61e99e18d8aed456fa0131012acca6 (patch)
tree7b9db12a10a17cdaa5419f46a5810b132df05d94 /subdir.mak
parentdbe6c6ff00bf57b709d0705a21efe64927d6e9dc (diff)
downloadffmpeg-8e255b8bda61e99e18d8aed456fa0131012acca6.tar.gz
replace some ifeq with prettier ifdef
Originally committed as revision 12764 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/subdir.mak b/subdir.mak
index 6384d8baf8..5b92f78566 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -19,7 +19,7 @@ endif
INCINSTDIR := $(INCDIR)/lib$(NAME)
define RULES
-ifeq ($(BUILD_SHARED),yes)
+ifdef BUILD_SHARED
all: $(SUBDIR)$(SLIBNAME)
install-libs: install-lib$(NAME)-shared
@@ -32,7 +32,7 @@ $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
$(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$^ $(FFEXTRALIBS) $(EXTRAOBJS)
$(SLIB_EXTRA_CMD)
-ifneq ($(SUBDIR),)
+ifdef SUBDIR
$(SUBDIR)$(SLIBNAME_WITH_MAJOR): \
$(foreach L,$(FFLIBS),lib$(L)/$(SLIBPREF)$(L)$(SLIBSUF))
endif