1# $NetBSD: sh-leading-plus.mk,v 1.5 2023/01/19 19:55:27 rillig Exp $
2#
3# Tests for shell commands preceded by a '+', to run them even if
4# the command line option -n is given.
5
6.MAKEFLAGS: -n
7
8all:
9          @echo 'this command is not run'
10          @+echo 'this command is run'
11
12          # Since 2023-01-17, the leading '@', '+' and '-' may contain
13          # whitespace, for compatibility with GNU make.
14          + + + @echo 'whitespace in leading part'
15