blob: 08dcd0e3990d0afaf729ab918d133d0a5e8b7ad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Preparation: create foo.c
test1:
touch foo.c exist
# foo.o should match the suffix rule below.
test2: foo.o
%.o: %.c not_exist
echo FAIL
%.o: %.c exist
echo PASS $@ $< $^
%.o: %.c not_exist
echo FAIL
%.o: %.cc
echo FAIL
|