xref: /freebsd/contrib/bmake/unit-tests/sh-leading-at.mk (revision 43a5ec4eb41567cc92586503212743d89686d78f)
1# $NetBSD: sh-leading-at.mk,v 1.5 2020/11/15 20:20:58 rillig Exp $
2#
3# Tests for shell commands preceded by an '@', to suppress printing
4# the command to stdout.
5#
6# See also:
7#	.SILENT
8#	depsrc-silent.mk
9#	opt-silent.mk
10
11all:
12	@
13	@echo 'ok'
14	@ echo 'space after @'
15	echo 'echoed'
16	# The leading '@' can be repeated.
17	@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
18	@@@echo '3'
19