Emit warnings when undefined variables are expanded.
Section: Core make commands
Warn on undefined variables
bash
bash
make --warn-undefined-variablesExplanation
Very useful in large makefiles with many variables.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Core make commands