aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-10-05 17:10:33 +0000
committerDiego Biurrun <diego@biurrun.de>2006-10-05 17:10:33 +0000
commitc6c4651138107827b8ad700de2148037df640f38 (patch)
treeec87a8f085d5302a2bfda452597c1f7e400c0abc /common.mak
parent885e691aafa4c55ac1be5507bf702c29ba96be2a (diff)
downloadffmpeg-c6c4651138107827b8ad700de2148037df640f38.tar.gz
Simplify test program build.
Originally committed as revision 6563 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.mak b/common.mak
index 01d44840c8..7ef4693b12 100644
--- a/common.mak
+++ b/common.mak
@@ -36,6 +36,9 @@ $(SLIBNAME_WITH_MAJOR): $(SHARED_OBJS)
%.o: %.cpp
g++ $(subst -Wall,,$(CFLAGS)) -c -o $@ $<
+%: %.o $(LIB)
+ $(CC) $(LDFLAGS) -o $@ $^ $(EXTRALIBS)
+
depend dep: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend