aboutsummaryrefslogtreecommitdiff
path: root/testcase/suffix_rule.mk
blob: 422773175fef721304609d0fc72a9dfbb06b33a4 (plain)
1
2
3
4
5
6
7
8
9
# Preparation: create foo.c
test1:
	touch foo.c

# foo.o should match the suffix rule below.
test2: foo.o

.c.o:
	echo PASS $@ $< $^