pjs/build/pymake/tests/matchany2.mk

14 строки
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 $@