See where a value came from and how it expands.
Section: Debugging commands
Inspect origin and flavor together
makefile
makefile
$(info CFLAGS origin=$(origin CFLAGS) flavor=$(flavor CFLAGS) value=$(value CFLAGS))Explanation
Great for untangling overrides.
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
Disable built-in rules for clearer debugging
Eliminate implicit rule noise.
Respect jobserver in recursive make
Propagate parallelism automatically using `$(MAKE)`.