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