Module: libav
Branch: master
Commit: e9ba6b3704a3e119a819ccd4236ed9a7c1180b82

Author:    Diego Biurrun <[email protected]>
Committer: Diego Biurrun <[email protected]>
Date:      Sun Jan 29 22:08:58 2012 +0100

build: Use order-only prerequisites for creating FATE reference file dirs.

---

 tests/Makefile |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/tests/Makefile b/tests/Makefile
index dba9e83..85665d9 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -5,20 +5,18 @@ REFS = $(AREF) $(VREF)
 $(VREF): avconv$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm
 $(AREF): avconv$(EXESUF) tests/data/asynth1.sw
 
-tests/vsynth1/00.pgm: tests/videogen$(HOSTEXESUF)
-       @mkdir -p tests/vsynth1
+OBJDIRS += tests/data tests/vsynth1 tests/vsynth2
+
+tests/vsynth1/00.pgm: tests/videogen$(HOSTEXESUF) | tests/vsynth1
        $(M)./$< 'tests/vsynth1/'
 
-tests/vsynth2/00.pgm: tests/rotozoom$(HOSTEXESUF)
-       @mkdir -p tests/vsynth2
+tests/vsynth2/00.pgm: tests/rotozoom$(HOSTEXESUF) | tests/vsynth2
        $(M)./$< 'tests/vsynth2/' $(SRC_PATH)/tests/lena.pnm
 
-tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF)
-       @mkdir -p tests/data
+tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF) | tests/data
        $(M)./$< $@
 
-tests/data/asynth-16000-1.sw: tests/audiogen$(HOSTEXESUF)
-       @mkdir -p tests/data
+tests/data/asynth-16000-1.sw: tests/audiogen$(HOSTEXESUF) | tests/data
        $(M)./$< $@ 16000 1
 
 tests/data/asynth%.sw tests/vsynth%/00.pgm: TAG = GEN

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to