blob: cff3d4da12639ddf42e7bdf9eba23cba03f02dee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: sh-leading-at.mk,v 1.6 2023/01/19 19:55:27 rillig Exp $
#
# Tests for shell commands preceded by an '@', to suppress printing
# the command to stdout.
#
# See also:
# .SILENT
# depsrc-silent.mk
# opt-silent.mk
all:
@
@echo 'ok'
@ echo 'space after @'
echo 'echoed'
# The leading '@' can be repeated.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@echo '3'
# Since 2023-01-17, the leading '@', '+' and '-' may contain
# whitespace, for compatibility with GNU make.
@ @ @ echo 'whitespace in leading part'
|