blob: 335a1e897295c6197a1f39022223b44bfc179723 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: deptgt-silent.mk,v 1.4 2020/11/15 20:49:20 rillig Exp $
#
# Tests for the special target .SILENT in dependency declarations.
.SILENT: all
all: loud
@echo 'This is not echoed because of the @.'
# Without the .SILENT, the following command would be echoed.
echo 'This is not echoed because of the .SILENT.'
# Demonstrate that the .SILENT only applies to the particular target.
# This is unlike .DELETE_ON_ERROR, which is a global setting.
loud: .PHONY
echo 'This is a loud command.'
|