diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-05-26 21:12:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-05-26 21:12:29 +0000 |
commit | 04c42130c4c93a056ea0f75d35411e0c5c4f36a8 (patch) | |
tree | 724ab42cfe82228a24aaba3383a0b66523744f40 /regress/usr.bin/make/mk12 | |
parent | ae8586badbcdb772de595f92f6853706e363e313 (diff) |
Check curly braces expansion.
Diffstat (limited to 'regress/usr.bin/make/mk12')
-rw-r--r-- | regress/usr.bin/make/mk12 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/regress/usr.bin/make/mk12 b/regress/usr.bin/make/mk12 new file mode 100644 index 00000000000..e82ef809baf --- /dev/null +++ b/regress/usr.bin/make/mk12 @@ -0,0 +1,21 @@ +# 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} + +b: ${T2} + @echo ${>:T} + +c: ${T3} + @echo ${>:T} + +.PHONY: a b c all |