aboutsummaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorDiego Biurrun2009-03-29 14:35:20 +0000
committerDiego Biurrun2009-03-29 14:35:20 +0000
commit43a0cb7ca290f71b55d99e0bfa5232a3f58dad24 (patch)
treea31ad07fe6801f91953032af98a6ee4224fc96ee /common.mak
parent7c17abaf9de53a0ccb0a2f5cc158f9881e024acc (diff)
Generalize example target rule in common.mak so that it sets a -example$(EXESUF)
suffix for all example files instead of doing this in individual Makefiles. Originally committed as revision 18217 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mak b/common.mak
index 83f2dbb1ca..b42b33e8f0 100644
--- a/common.mak
+++ b/common.mak
@@ -65,7 +65,7 @@ TESTPROGS += $(TESTPROGS-yes)
FFEXTRALIBS := $(addprefix -l,$(addsuffix $(BUILDSUF),$(FFLIBS))) $(EXTRALIBS)
FFLDFLAGS := $(addprefix -L$(BUILD_ROOT)/lib,$(FFLIBS)) $(LDFLAGS)
-EXAMPLES := $(addprefix $(SUBDIR),$(EXAMPLES))
+EXAMPLES := $(addprefix $(SUBDIR),$(addsuffix -example$(EXESUF),$(EXAMPLES)))
OBJS := $(addprefix $(SUBDIR),$(OBJS))
TESTPROGS := $(addprefix $(SUBDIR),$(addsuffix -test$(EXESUF),$(TESTPROGS)))