summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-01-29 22:08:58 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-30 13:00:35 +0100
commite9ba6b3704a3e119a819ccd4236ed9a7c1180b82 (patch)
tree01787401d7985d506f03e613eec76331e05e25bd /tests
parent6b039003822a03add20c7ba91fc857dca52b0a03 (diff)
build: Use order-only prerequisites for creating FATE reference file dirs.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/Makefile b/tests/Makefile
index dba9e83688..85665d9dbc 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