Commit 919cb873 authored by Diego Biurrun's avatar Diego Biurrun

Fix regression tests with out-of-tree builds.

Originally committed as revision 7364 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2e3bcd38
...@@ -6,6 +6,7 @@ include ../config.mak ...@@ -6,6 +6,7 @@ include ../config.mak
VPATH=$(SRC_PATH_BARE)/tests VPATH=$(SRC_PATH_BARE)/tests
SRC_DIR=$(SRC_PATH)/tests SRC_DIR=$(SRC_PATH)/tests
BUILD_DIR=$(BUILD_ROOT)/tests
CFLAGS=-O2 -Wall -g CFLAGS=-O2 -Wall -g
REFFILE1=$(SRC_DIR)/ffmpeg.regression.ref REFFILE1=$(SRC_DIR)/ffmpeg.regression.ref
...@@ -40,11 +41,11 @@ endif ...@@ -40,11 +41,11 @@ endif
vsynth1/00.pgm: videogen$(EXESUF) vsynth1/00.pgm: videogen$(EXESUF)
@mkdir -p vsynth1 @mkdir -p vsynth1
$< 'vsynth1/' $(BUILD_DIR)/$< 'vsynth1/'
vsynth2/00.pgm: rotozoom$(EXESUF) vsynth2/00.pgm: rotozoom$(EXESUF)
@mkdir -p vsynth2 @mkdir -p vsynth2
$< 'vsynth2/' $(SRC_DIR)/lena.pnm $(BUILD_DIR)/$< 'vsynth2/' $(SRC_DIR)/lena.pnm
videogen$(EXESUF): videogen.c videogen$(EXESUF): videogen.c
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
...@@ -55,7 +56,7 @@ rotozoom$(EXESUF): rotozoom.c ...@@ -55,7 +56,7 @@ rotozoom$(EXESUF): rotozoom.c
# audio generation # audio generation
asynth1.sw: audiogen$(EXESUF) asynth1.sw: audiogen$(EXESUF)
$< $@ $(BUILD_DIR)/$< $@
audiogen$(EXESUF): audiogen.c audiogen$(EXESUF): audiogen.c
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
......
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