build/pymake/tests/matchany2.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/build/pymake/tests/matchany2.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +# we should succeed in making foo.ooo from foo.ooo.test
     1.5 +all: foo.ooo
     1.6 +	@echo TEST-PASS
     1.7 +
     1.8 +%.ooo: %.ccc
     1.9 +	exit 1
    1.10 +
    1.11 +# this match-anything rule is terminal, and therefore applies
    1.12 +%:: %.test
    1.13 +	cp $< $@
    1.14 +
    1.15 +foo.ooo.test:
    1.16 +	touch $@

mercurial