File: static_pattern.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 (56 lines) | stat: -rw-r--r-- 989 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
49
50
51
52
53
54
55
56
###	SPAR <http://www.cpan.org/scripts/>
###	21	644	1067451879	965508654	Makeppfile
#
# Test of static pattern rules.
#

.PHONY: all

all: $( a b c d e f).out

#
# The old GNU makefile syntax:
#
a.out b.out c.out : %.out: %.in
	&echo $< -o $@
	&cat $< -o>>$@

#
# The :foreach syntax:
#
%.out: %.in : foreach d.in e.in f.in
	&echo $< -o $@
	&cat $< -o >>$@
###	1	644	1067451879	965508501	a.in
a
###	1	644	1067451879	965508503	b.in
b
###	1	644	1067451879	965508505	c.in
c
###	1	644	1067451879	965508762	d.in
d
###	1	644	1067451879	965508764	e.in
e
###	1	644	1067451879	965508766	f.in
f
###	D	755	1067451879	965508995	answers
###	2	644	1067451879	965508968	answers/a.out
a.in
a
###	2	644	1067451879	965508968	answers/b.out
b.in
b
###	2	644	1067451879	965508968	answers/c.out
c.in
c
###	2	644	1067451879	965508769	answers/d.out
d.in
d
###	2	644	1067451879	965508769	answers/e.out
e.in
e
###	2	644	1067451879	965508769	answers/f.out
f.in
f
###	1	644	1067451879	1190053943	answers/n_files
6 1 0