dir.mk revision 1.1 1 # $NetBSD: dir.mk,v 1.1 2020/07/31 16:42:51 rillig Exp $
2 #
3 # Tests for dir.c.
4
5 # Dependency lines may use braces for expansion.
6 all: {one,two,three}
7
8 one:
9 @echo 1
10 two:
11 @echo 2
12 three:
13 @echo 3
14
15 # The braces may start in the middle of a word.
16 all: f{our,ive}
17
18 four:
19 @echo 4
20 five:
21 @echo 5
22 six:
23 @echo 6
24
25 # But nested braces don't work.
26 all: {{thi,fou}r,fif}teen
27
28 thirteen:
29 @echo 13
30 fourteen:
31 @echo 14
32 fifteen:
33 @echo 15
34