Get the most recently parsed makefile path.
Section: Useful function recipes
Current makefile name
makefile
makefile
CURRENT_MK := $(lastword $(MAKEFILE_LIST))Explanation
A practical use of `MAKEFILE_LIST`.
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 Useful function recipes