Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-20 05:07:55 +0300
committerMichael Niedermayer <michaelni@gmx.at>2011-01-23 21:32:08 +0300
commit51cfd81238ef2d6359d59d7c7f989eeed160f374 (patch)
treefdad2b1fd9251694dcddff9cce86a041449252fd /Makefile
parentbf7aa642c358148a693354777a1b3f12d5affdaa (diff)
Makefile: simplify test tools handling
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 2b39962eb616bdb848673485d7b9feed48d39e36)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 98ec5f5b47..a1fd7b4e42 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,8 @@ MANPAGES = $(PROGS-yes:%=doc/%.1)
PODPAGES = $(PROGS-yes:%=doc/%.pod)
HTMLPAGES = $(PROGS-yes:%=doc/%.html)
TOOLS = $(addprefix tools/, $(addsuffix $(EXESUF), cws2fws pktdumper probetest qt-faststart trasher))
-HOSTPROGS = $(addprefix tests/, audiogen videogen rotozoom tiny_psnr base64)
+TESTPROGS = audiogen videogen rotozoom tiny_psnr base64
+HOSTPROGS := $(TESTPROGS:%=tests/%)
BASENAMES = ffmpeg ffplay ffprobe ffserver
ALLPROGS = $(BASENAMES:%=%$(EXESUF))
@@ -162,7 +163,7 @@ testclean:
$(RM) -r tests/vsynth1 tests/vsynth2 tests/data
$(RM) $(addprefix tests/,$(CLEANSUFFIXES))
$(RM) tests/seek_test$(EXESUF) tests/seek_test.o
- $(RM) $(addprefix tests/,$(addsuffix $(HOSTEXESUF),audiogen videogen rotozoom tiny_psnr base64))
+ $(RM) $(TESTPROGS:%=tests/%$(HOSTEXESUF))
clean:: testclean
$(RM) $(ALLPROGS) $(ALLPROGS_G)