github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/kati/testcase/multi_pattern_rule.mk (about) 1 # Preparation: create foo.c 2 test1: 3 touch foo.c exist 4 5 # foo.o should match the suffix rule below. 6 test2: foo.o 7 8 %.o: %.c not_exist 9 echo FAIL 10 11 %.o: %.c exist 12 echo PASS $@ $< $^ 13 14 %.o: %.c not_exist 15 echo FAIL 16 17 %.o: %.cc 18 echo FAIL