[SCM] libav/experimental: Merge rules for tools/* into a generic rule.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:12:15 UTC 2013


The following commit has been merged in the experimental branch:
commit 1521c500da63bef79da2bc664cfa96eebbccacfd
Author: Diego Biurrun <diego at biurrun.de>
Date:   Sat Jan 26 18:41:20 2008 +0000

    Merge rules for tools/* into a generic rule.
    
    Originally committed as revision 11620 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/Makefile b/Makefile
index a71cb60..fea2760 100644
--- a/Makefile
+++ b/Makefile
@@ -107,17 +107,8 @@ version.h:
 output_example$(EXESUF): output_example.o .libs
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(EXTRALIBS)
 
-tools/pktdumper$(EXESUF): tools/pktdumper.c
-	$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(EXTRALIBS)
-
-tools/qt-faststart$(EXESUF): tools/qt-faststart.c
-	$(CC) $(CFLAGS) $< -o $@
-
-tools/cws2fws$(EXESUF): tools/cws2fws.c
-	$(CC) $(CFLAGS) $< -o $@ -lz
-
-tools/trasher$(EXESUF): tools/trasher.c
-	$(CC) $(CFLAGS) $< -o $@
+tools/%$(EXESUF): tools/%.c
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(EXTRALIBS)
 
 ffplay.o: CFLAGS += $(SDL_CFLAGS)
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list