diff options
Diffstat (limited to 'unit-tests/opt-debug-graph1.mk')
-rw-r--r-- | unit-tests/opt-debug-graph1.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/unit-tests/opt-debug-graph1.mk b/unit-tests/opt-debug-graph1.mk new file mode 100644 index 0000000000000..618d49102a20f --- /dev/null +++ b/unit-tests/opt-debug-graph1.mk @@ -0,0 +1,23 @@ +# $NetBSD: opt-debug-graph1.mk,v 1.3 2020/09/05 06:46:12 rillig Exp $ +# +# Tests for the -dg1 command line option, which prints the input +# graph before making anything. + +.MAKEFLAGS: -dg1 + +all: made-target made-target-no-sources + +made-target: made-source + +made-source: + +made-target-no-sources: + +unmade-target: unmade-sources unmade-silent-source + +.SILENT: unmade-silent-source + +unmade-target-no-sources: + +all: + @:; |