Merge rules for tools/* into a generic rule.

Originally committed as revision 11620 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-01-26 18:41:20 +00:00
parent 2b258bbaad
commit 1521c500da

View File

@ -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)