1# Preparation: create foo.c
2test1:
3 touch foo.c
4
5# foo.o should match the pattern rule below.
6test2: foo.o
7
8foo.o: %.o: %.c
9 echo PASS
1# Preparation: create foo.c
2test1:
3 touch foo.c
4
5# foo.o should match the pattern rule below.
6test2: foo.o
7
8foo.o: %.o: %.c
9 echo PASS