summaryrefslogtreecommitdiff
path: root/unit-tests/depsrc-notmain.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/depsrc-notmain.mk')
-rw-r--r--unit-tests/depsrc-notmain.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/unit-tests/depsrc-notmain.mk b/unit-tests/depsrc-notmain.mk
index 6e4a68c3b70db..7ba572be70877 100644
--- a/unit-tests/depsrc-notmain.mk
+++ b/unit-tests/depsrc-notmain.mk
@@ -1,8 +1,11 @@
-# $NetBSD: depsrc-notmain.mk,v 1.2 2020/08/16 14:25:16 rillig Exp $
+# $NetBSD: depsrc-notmain.mk,v 1.3 2020/09/05 15:57:12 rillig Exp $
#
-# Tests for the special source .NOTMAIN in dependency declarations.
+# Tests for the special source .NOTMAIN in dependency declarations,
+# which prevents the associated target from becoming the default target
+# to be made.
-# TODO: Implementation
+ignored: .NOTMAIN
+ : ${.TARGET}
all:
- @:;
+ : ${.TARGET}