summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-03-22 22:33:41 +0000
committerDiego Biurrun <diego@biurrun.de>2009-03-22 22:33:41 +0000
commit6708cfc4d3a079527409b2ba2fc75997a7975104 (patch)
treecda72725caee6452e59ddf27c95cafa40fb5e9da /Makefile
parent326e9eaa201007164a65baf5f48d7d4e017abde8 (diff)
Add rule for building API example programs.
Originally committed as revision 18161 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 48f9620b04..c5e720363f 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,8 @@ FFLIBS := avdevice avformat avcodec avutil swscale
DATA_FILES := $(wildcard $(SRC_DIR)/ffpresets/*.ffpreset)
+EXAMPLES = output_example$(EXESUF)
+
include common.mak
FF_LDFLAGS := $(FFLDFLAGS)
@@ -45,7 +47,7 @@ $(PROGS): %$(EXESUF): %_g$(EXESUF)
cp -p $< $@
$(STRIP) $@
-SUBDIR_VARS := OBJS FFLIBS CLEANFILES DIRS TESTS
+SUBDIR_VARS := OBJS FFLIBS CLEANFILES DIRS TESTS EXAMPLES
define RESET
$(1) :=