Add $(EXESUF) where necessary, fixes regression tests under MinGW.
authorVíctor Paesa <wzrlpy@arsystel.com>
Thu, 3 Aug 2006 17:27:33 +0000 (17:27 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 3 Aug 2006 17:27:33 +0000 (17:27 +0000)
patch by Víctor Paesa, wzrlpy $@$ arsystel dot com

Originally committed as revision 5924 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/Makefile

index 587126c..84302cc 100644 (file)
@@ -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