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