build/pymake/tests/vpath2.mk

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:83214720a446
1 VPATH = foo bar
2
3 $(shell \
4 mkdir bar; touch bar/test.source; \
5 sleep 2; \
6 mkdir foo; touch foo/tfile1; \
7 touch bar/tfile2 bar/tfile3 bar/test.objtest; \
8 )
9
10 all: tfile1 tfile2 tfile3 test.objtest test.source
11 test "$^" = "foo/tfile1 bar/tfile2 bar/tfile3 bar/test.objtest bar/test.source"
12 @echo TEST-PASS
13
14 tfile3: test.objtest
15
16 %.objtest: %.source
17 test "$<" = bar/test.source
18 test "$@" = test.objtest

mercurial