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