3 # $DragonFly: src/usr.bin/make/tests/variables/t1/test.sh,v 1.5 2005/02/26 11:23:54 okumoto Exp $
9 cat > Makefile << "_EOF_"
17 @echo "all files: ${FILES}"
18 @echo "cfiles: ${FILES:M*.c}"
19 @echo "hfiles: ${FILES:M*.h}"
20 @echo "grammer and lexer: ${FILES:M*.[ly]}"
21 @echo "man page: ${FILES:M*.[1-9]}"
22 @echo "utility files: ${FILES:Mutil.?}"
23 @echo "m files: ${FILES:Mm*}"
25 $MAKE 1> stdout 2> stderr
31 echo "Variable expansion."