Makefile Debugging, Parallelism & CI/Disable built-in rules for clearer debugging

Eliminate implicit rule noise.

Section: Debugging commands

Disable built-in rules for clearer debugging

bash
bash
make -rR --warn-undefined-variables
Explanation

`-rR` disables built-in rules and variables in GNU make.

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 Debugging commands
Trace target execution
Show when each target is considered and updated.
OpenIn sheetbashsame section
Full debug output
Print broad internal diagnostics.
OpenIn sheetbashsame section
Inspect variable value with info
Emit a variable during parsing.
OpenIn sheetmakefilesame section
Inspect origin and flavor together
See where a value came from and how it expands.
OpenIn sheetmakefilesame section
Respect jobserver in recursive make
Propagate parallelism automatically using `$(MAKE)`.
OpenIn sheetmakefile
Set shell and flags
Use bash with strict flags for recipes.
OpenIn sheetmakefile