summaryrefslogtreecommitdiff
path: root/unit-tests/deptgt-suffixes.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/deptgt-suffixes.mk')
-rw-r--r--unit-tests/deptgt-suffixes.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/unit-tests/deptgt-suffixes.mk b/unit-tests/deptgt-suffixes.mk
new file mode 100644
index 0000000000000..791ff5eb5f03b
--- /dev/null
+++ b/unit-tests/deptgt-suffixes.mk
@@ -0,0 +1,18 @@
+# $NetBSD: deptgt-suffixes.mk,v 1.3 2020/08/28 04:05:35 rillig Exp $
+#
+# Tests for the special target .SUFFIXES in dependency declarations.
+#
+# See also:
+# varname-dot-includes.mk
+# varname-dot-libs.mk
+
+.MAKEFLAGS: -dg1
+
+.SUFFIXES: .custom-null
+
+# TODO: What is the effect of this? How is it useful?
+.NULL: .custom-null
+.PATH.custom-null: . ..
+
+all:
+ @:;