aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/sh-leading-plus.mk
blob: ff57b4a38a7d3bd248c5673ecea0ba91e2dca85b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# $NetBSD: sh-leading-plus.mk,v 1.4 2020/11/09 20:50:56 rillig Exp $
#
# Tests for shell commands preceded by a '+', to run them even if
# the command line option -n is given.

.MAKEFLAGS: -n

all:
	@echo 'this command is not run'
	@+echo 'this command is run'