summaryrefslogtreecommitdiff
path: root/usr.bin/make/unit-tests/opt-silent.mk
blob: 01e5b18e2b123b21fb4cc845d2cedec7e7896a3e (plain)
1
2
3
4
5
6
7
8
9
10
# $NetBSD: opt-silent.mk,v 1.3 2022/01/23 16:09:38 rillig Exp $
#
# Tests for the -s command line option.

.MAKEFLAGS: -s

# No matter whether a command is prefixed by '@' or not, it is not echoed.
all:
	echo 'message'
	@echo 'silent message'