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