1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
### SPAR <http://www.cpan.org/scripts/>
### 46 644 1067451873 967513317 Makeppfile
#
# Test specifying additional dependencies on a line that does not have any
# actions.
#
.PHONY: all
all: c d f
c: a
&cat $^ -o $@
#
# This tests the horrible idiom whereby a command with several targets is
# sometimes split up so that one target depends on the other, in order to
# get around make's stupid restriction of one target per command.
#
a: b
b:
&echo a -o a
&echo b -o b
#
# Test depending on a wildcard.
#
d: [12].c
d: e
&cat $^ -o $@
1.c 2.c 3.c 4.c:
&echo $@ -o $@
e:
&echo e -o $@
#
# Test depending on a wildcard when there's no rule.
#
f: g [34].c
g:
&echo g -o g
&echo f -o f
### D 755 1067451873 967513503 answers
### 1 644 1067451873 967513497 answers/a
a
### 1 644 1067451873 967513497 answers/b
b
### 1 644 1067451873 967513497 answers/c
a
### 3 644 1067451873 967513497 answers/d
e
1.c
2.c
### 1 644 1067451873 967513497 answers/e
e
### 1 644 1067451873 967513497 answers/f
f
### 1 644 1067451873 967513497 answers/g
g
### 1 644 1067451873 967513497 answers/1.c
1.c
### 1 644 1067451873 967513497 answers/2.c
2.c
### 1 644 1067451873 967513497 answers/3.c
3.c
### 1 644 1067451873 967513497 answers/4.c
4.c
### 1 644 1067451873 1190053811 answers/n_files
9 1 0
|