1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix regression tests with out-of-tree builds.

Originally committed as revision 7364 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2006-12-23 00:22:15 +00:00
parent 2e3bcd38d0
commit 919cb8731e

View File

@ -6,6 +6,7 @@ include ../config.mak
VPATH=$(SRC_PATH_BARE)/tests
SRC_DIR=$(SRC_PATH)/tests
BUILD_DIR=$(BUILD_ROOT)/tests
CFLAGS=-O2 -Wall -g
REFFILE1=$(SRC_DIR)/ffmpeg.regression.ref
@ -40,11 +41,11 @@ endif
vsynth1/00.pgm: videogen$(EXESUF)
@mkdir -p vsynth1
$< 'vsynth1/'
$(BUILD_DIR)/$< 'vsynth1/'
vsynth2/00.pgm: rotozoom$(EXESUF)
@mkdir -p vsynth2
$< 'vsynth2/' $(SRC_DIR)/lena.pnm
$(BUILD_DIR)/$< 'vsynth2/' $(SRC_DIR)/lena.pnm
videogen$(EXESUF): videogen.c
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
@ -55,7 +56,7 @@ rotozoom$(EXESUF): rotozoom.c
# audio generation
asynth1.sw: audiogen$(EXESUF)
$< $@
$(BUILD_DIR)/$< $@
audiogen$(EXESUF): audiogen.c
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<