Snippets
Makefile help command¶
help command will list all the commands available in the Makefile.
help:
@echo 'Usage:'
@sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /'
MAKEFILE_LIST is a special variable.