Mypal/build/pymake/tests/matchany2.mk
2019-03-11 13:26:37 +03:00

14 lines
217 B
Makefile

# 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 $@