diff options
Diffstat (limited to 'python/pymake/tests/matchany2.mk')
-rw-r--r-- | python/pymake/tests/matchany2.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/python/pymake/tests/matchany2.mk b/python/pymake/tests/matchany2.mk new file mode 100644 index 000000000..d21d9702c --- /dev/null +++ b/python/pymake/tests/matchany2.mk @@ -0,0 +1,13 @@ +# we should succeed in making foo.ooo from foo.ooo.test +all: foo.ooo + @echo TEST-PASS + +%.ooo: %.ccc + exit 1 + +# this match-anything rule is terminal, and therefore applies +%:: %.test + cp $< $@ + +foo.ooo.test: + touch $@ |