build/pymake/tests/vpath2.mk

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 VPATH = foo bar
     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 )
    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
    14 tfile3: test.objtest
    16 %.objtest: %.source
    17 	test "$<" = bar/test.source
    18 	test "$@" = test.objtest

mercurial