summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/tests/suffixes/src_wild2/Makefile.test
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/tests/suffixes/src_wild2/Makefile.test')
-rw-r--r--usr.bin/make/tests/suffixes/src_wild2/Makefile.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.bin/make/tests/suffixes/src_wild2/Makefile.test b/usr.bin/make/tests/suffixes/src_wild2/Makefile.test
new file mode 100644
index 0000000..1dea7ea
--- /dev/null
+++ b/usr.bin/make/tests/suffixes/src_wild2/Makefile.test
@@ -0,0 +1,12 @@
+# $FreeBSD$
+#
+# Source expansion with the source in a macro
+#
+
+SRC=*.a
+
+test1: TEST1.b
+ cat TEST1.a TEST2.a | diff -u - TEST1.b
+
+TEST1.b: ${SRC}
+ cat ${.ALLSRC} >${.TARGET}
OpenPOWER on IntegriCloud