xref: /freebsd/contrib/bmake/unit-tests/sh-leading-plus.mk (revision 35c87c070a2d04f06c56578b0a4b2e9c13f62be5)
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