xref: /src/contrib/bmake/unit-tests/sh-leading-plus.mk (revision 184c1b943937986c81e1996d999d21626ec7a4ff)
1# $NetBSD: sh-leading-plus.mk,v 1.4 2020/11/09 20:50:56 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