2022-01-23 19:09:38 +03:00
|
|
|
# $NetBSD: opt-silent.mk,v 1.3 2022/01/23 16:09:38 rillig Exp $
|
2020-08-16 15:07:50 +03:00
|
|
|
#
|
2020-08-16 17:25:16 +03:00
|
|
|
# Tests for the -s command line option.
|
2020-08-16 15:07:50 +03:00
|
|
|
|
2022-01-23 19:09:38 +03:00
|
|
|
.MAKEFLAGS: -s
|
2020-08-16 15:07:50 +03:00
|
|
|
|
2022-01-23 19:09:38 +03:00
|
|
|
# No matter whether a command is prefixed by '@' or not, it is not echoed.
|
2020-08-16 15:07:50 +03:00
|
|
|
all:
|
2022-01-23 19:09:38 +03:00
|
|
|
echo 'message'
|
|
|
|
@echo 'silent message'
|