summaryrefslogtreecommitdiff
path: root/regress/usr.bin/make/mk12
blob: ea41414485d4a1883de36718b377760821e69fc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Check out that brace expansion works
T1=mk{1,4a,11}

# Now for funnier stuff
T2=m?{1,4*,11}

# Recursive fun
T3=mk{1,4{,a},1{0,1}}

all: a b c

a: ${T1}
	@echo ${>:T}

# new tests have been written with mk40, mk41, ...; filter them out with N
b: ${T2}
	@echo ${>:T:Nmk4[0-9]}

c: ${T3}
	@echo ${>:T}

.PHONY: a b c all