main shinobi / tests / mk / kati / multi_pattern_rule / test2 / mk
 1# Preparation: create foo.c
 2test1:
 3	touch foo.c exist
 4
 5# foo.o should match the suffix rule below.
 6test2: 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