xref: /freebsd/contrib/bmake/unit-tests/opt-debug.mk (revision d4eeb02986980bf33dd56c41ceb9fc5f180c0d47)
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