956e45f6fb
Lots of new unit-tests increase code coverage. Lots of refactoring, cleanup and simlpification to reduce code size. Fixes for Bug 223564 and 245807 Updates to dirdeps.mk and meta2deps.py
23 lines
754 B
Makefile
23 lines
754 B
Makefile
# $NetBSD: opt-debug-loud.mk,v 1.4 2020/10/05 19:27:48 rillig Exp $
|
|
#
|
|
# Tests for the -dl command line option, which prints the commands before
|
|
# running them, ignoring the command line option for silent mode (-s) as
|
|
# well as the .SILENT special source and target, as well as the '@' prefix
|
|
# for shell commands.
|
|
|
|
.MAKEFLAGS: -dl -s
|
|
.SILENT:
|
|
|
|
# The -dl command line option does not affect commands that are run during
|
|
# variable expansion, such as :!cmd! or :sh.
|
|
.if ${:!echo word!} != "word"
|
|
. error
|
|
.endif
|
|
|
|
all: .SILENT
|
|
# Even though the command line option -s is given, .SILENT is set
|
|
# for all targets and for this target in particular, the command
|
|
# is still printed. The -dl debugging option is stronger than all
|
|
# of these.
|
|
@echo all-word
|