Commit 13b1c80b authored by Diego Biurrun's avatar Diego Biurrun

Introduce a variable for all targets in the tools subdirectory.

Originally committed as revision 19908 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9407246d
...@@ -12,6 +12,7 @@ PROGS = $(addsuffix $(EXESUF), $(PROGS-yes)) ...@@ -12,6 +12,7 @@ PROGS = $(addsuffix $(EXESUF), $(PROGS-yes))
PROGS_G = $(addsuffix _g$(EXESUF), $(PROGS-yes)) PROGS_G = $(addsuffix _g$(EXESUF), $(PROGS-yes))
OBJS = $(addsuffix .o, $(PROGS-yes)) cmdutils.o OBJS = $(addsuffix .o, $(PROGS-yes)) cmdutils.o
MANPAGES = $(addprefix doc/, $(addsuffix .1, $(PROGS-yes))) MANPAGES = $(addprefix doc/, $(addsuffix .1, $(PROGS-yes)))
TOOLS = $(addprefix tools/, $(addsuffix $(EXESUF), cws2fws pktdumper qt-faststart trasher))
BASENAMES = ffmpeg ffplay ffserver BASENAMES = ffmpeg ffplay ffserver
ALLPROGS = $(addsuffix $(EXESUF), $(BASENAMES)) ALLPROGS = $(addsuffix $(EXESUF), $(BASENAMES))
...@@ -77,7 +78,7 @@ ffplay.o ffplay.d: CFLAGS += $(SDL_CFLAGS) ...@@ -77,7 +78,7 @@ ffplay.o ffplay.d: CFLAGS += $(SDL_CFLAGS)
cmdutils.o cmdutils.d: version.h cmdutils.o cmdutils.d: version.h
alltools: $(addsuffix $(EXESUF),$(addprefix tools/, cws2fws pktdumper qt-faststart trasher)) alltools: $(TOOLS)
documentation: $(addprefix doc/, developer.html faq.html ffmpeg-doc.html ffserver-doc.html \ documentation: $(addprefix doc/, developer.html faq.html ffmpeg-doc.html ffserver-doc.html \
ffplay-doc.html general.html $(ALLMANPAGES)) ffplay-doc.html general.html $(ALLMANPAGES))
...@@ -126,7 +127,7 @@ clean:: testclean ...@@ -126,7 +127,7 @@ clean:: testclean
rm -f doc/*.html doc/*.pod doc/*.1 rm -f doc/*.html doc/*.pod doc/*.1
rm -f tests/seek_test$(EXESUF) tests/seek_test.o rm -f tests/seek_test$(EXESUF) tests/seek_test.o
rm -f $(addprefix tests/,$(addsuffix $(HOSTEXESUF),audiogen videogen rotozoom tiny_psnr)) rm -f $(addprefix tests/,$(addsuffix $(HOSTEXESUF),audiogen videogen rotozoom tiny_psnr))
rm -f $(addprefix tools/,$(addsuffix $(EXESUF),cws2fws pktdumper qt-faststart trasher)) rm -f $(TOOLS)
distclean:: distclean::
rm -f $(DISTCLEANSUFFIXES) rm -f $(DISTCLEANSUFFIXES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment