File: extra_dependencies.test

package info (click to toggle)
makepp 2.0.98.5-2.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,744 kB
  • sloc: perl: 15,893; makefile: 38; javascript: 25; sh: 1
file content (48 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (3)
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
###	SPAR <http://www.cpan.org/scripts/>
###	30	644	1164352699	1179177721	Makeppfile
#
# This is a test of lines that specify extra dependencies but no rules.
#

.PHONY: all

all: a

a: b
	&echo a -o $@
	&cat $^ -o>>$@

a: c d

#
# Test out this obfuscated idiom for changing two files at once with
# one command:
#
b: c

c:
	&echo c -o c
	&echo b -o b
	&cat d -o>>c

c: $((				# Multiline list with comment, after rule.
	d))

d:
	&echo $@ -o $@
###	D	755	1067451875	965751450	answers
###	5	644	1067451875	965751410	answers/a
a
b
c
d
d
###	1	644	1067451875	965751410	answers/b
b
###	2	644	1067451875	965751410	answers/c
c
d
###	1	644	1067451875	965751410	answers/d
d
###	1	644	1067451875	1190053836	answers/n_files
3 1 0