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