diff options
Diffstat (limited to 'unit-tests/deptgt-begin.mk')
-rw-r--r-- | unit-tests/deptgt-begin.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/unit-tests/deptgt-begin.mk b/unit-tests/deptgt-begin.mk new file mode 100644 index 0000000000000..c6ca2f4aa3c7f --- /dev/null +++ b/unit-tests/deptgt-begin.mk @@ -0,0 +1,13 @@ +# $NetBSD: deptgt-begin.mk,v 1.3 2020/08/29 17:34:21 rillig Exp $ +# +# Tests for the special target .BEGIN in dependency declarations, +# which is a container for commands that are run before any other +# commands from the shell lines. + +.BEGIN: + : $@ + +all: + : $@ + +_!= echo : parse time 1>&2 |