[Ffmpeg-cvslog] r7364 - trunk/tests/Makefile

diego subversion
Sat Dec 23 01:22:15 CET 2006


Author: diego
Date: Sat Dec 23 01:22:15 2006
New Revision: 7364

Modified:
   trunk/tests/Makefile

Log:
Fix regression tests with out-of-tree builds.


Modified: trunk/tests/Makefile
==============================================================================
--- trunk/tests/Makefile	(original)
+++ trunk/tests/Makefile	Sat Dec 23 01:22:15 2006
@@ -6,6 +6,7 @@
 
 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 @@
 
 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 @@
 # audio generation
 
 asynth1.sw: audiogen$(EXESUF)
-	$< $@
+	$(BUILD_DIR)/$< $@
 
 audiogen$(EXESUF): audiogen.c
 	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<




More information about the ffmpeg-cvslog mailing list