Makefile: enable warn-undefined-variables

This commit is contained in:
Tim Hockin 2022-01-21 19:06:58 -08:00
parent ad9b60e2c9
commit 6fee657d3a
No known key found for this signature in database

View File

@ -35,9 +35,13 @@ BASH_ENV := ./hack/lib/logging.sh
# Define variables so `make --warn-undefined-variables` works.
PRINT_HELP ?=
WHAT ?=
TESTS ?=
# We don't need make's built-in rules.
MAKEFLAGS += --no-builtin-rules
# Be pedantic about undefined variables.
MAKEFLAGS += --warn-undefined-variables
.SUFFIXES:
# Constants used throughout.