diff options
author | Måns Rullgård <mans@mansr.com> | 2008-04-07 22:17:47 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-04-07 22:17:47 +0000 |
commit | 8e255b8bda61e99e18d8aed456fa0131012acca6 (patch) | |
tree | 7b9db12a10a17cdaa5419f46a5810b132df05d94 /subdir.mak | |
parent | dbe6c6ff00bf57b709d0705a21efe64927d6e9dc (diff) | |
download | ffmpeg-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.mak | 4 |
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 |