build/pymake/tests/implicit-chain.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/build/pymake/tests/implicit-chain.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +all: test.prog
     1.5 +	test "$$(cat $<)" = "Program: Object: Source: test.source"
     1.6 +	@echo TEST-PASS
     1.7 +
     1.8 +%.prog: %.object
     1.9 +	printf "Program: %s" "$$(cat $<)" > $@
    1.10 +
    1.11 +%.object: %.source
    1.12 +	printf "Object: %s" "$$(cat $<)" > $@
    1.13 +
    1.14 +%.source:
    1.15 +	printf "Source: %s" $@ > $@

mercurial