From f5c85943d039c1aeefc14f71822fa96b08ef14c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADctor=20Paesa?= <wzrlpy@arsystel.com>
Date: Thu, 3 Aug 2006 17:27:33 +0000
Subject: [PATCH] =?UTF-8?q?Add=20$(EXESUF)=20where=20necessary,=20fixes=20?=
 =?UTF-8?q?regression=20tests=20under=20MinGW.=20patch=20by=20V=C3=ADctor?=
 =?UTF-8?q?=20Paesa,=20wzrlpy=20$@$=20arsystel=20dot=20com?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Originally committed as revision 5924 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 tests/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/Makefile b/tests/Makefile
index 587126ccbac..84302cc22a2 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -21,7 +21,7 @@ test-server: vsynth1/0.pgm asynth1.sw
 	@$(VPATH)/server-regression.sh $(SERVER_REFFILE) $(VPATH)/test.conf
 
 # fast regression tests for all codecs
-codectest mpeg4 mpeg ac3 snow snowll: vsynth1/0.pgm vsynth2/0.pgm asynth1.sw tiny_psnr
+codectest mpeg4 mpeg ac3 snow snowll: vsynth1/0.pgm vsynth2/0.pgm asynth1.sw tiny_psnr$(EXESUF)
 	@$(VPATH)/regression.sh $@ $(REFFILE1) vsynth1
 	@$(VPATH)/regression.sh $@ $(REFFILE2) vsynth2
 
@@ -31,11 +31,11 @@ libavtest: vsynth1/0.pgm asynth1.sw
 
 # video generation
 
-vsynth1/0.pgm: videogen
+vsynth1/0.pgm: videogen$(EXESUF)
 	@mkdir -p vsynth1
 	./videogen 'vsynth1/'
 
-vsynth2/0.pgm: rotozoom
+vsynth2/0.pgm: rotozoom$(EXESUF)
 	@mkdir -p vsynth2
 	./rotozoom 'vsynth2/' $(VPATH)/lena.pnm
 
@@ -47,7 +47,7 @@ rotozoom$(EXESUF): rotozoom.c
 
 # audio generation
 
-asynth1.sw: audiogen
+asynth1.sw: audiogen$(EXESUF)
 	./audiogen $@
 
 audiogen$(EXESUF): audiogen.c
-- 
GitLab