xref: /freebsd/contrib/bmake/unit-tests/opt-debug.mk (revision a90b9d0159070121c221b966469c3e36d912bf82)
1# $NetBSD: opt-debug.mk,v 1.5 2020/10/05 19:27:48 rillig Exp $
2#
3# Tests for the -d command line option, which controls debug logging.
4
5# Enable debug logging for the variables (var.c).
6.MAKEFLAGS: -dv
7
8VAR=	value
9
10# Disable all debug logging again.
11.MAKEFLAGS: -d0			# -d0 is available since 2020-10-03
12
13all:
14	@:;
15