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