make help target
Make your first target 'help' to give an overview of the main targets.
Running make help
will search for text which starts with ##
and show what that target does.
1.PHONY: help
2help: ## Print the help message.
3 @awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z._-]+:.*?## / {printf "\033[36m%s\033[0m : %s\n", $$1, $$2}' $(MAKEFILE_LIST) | \
4 sort | \
5 column -s ':' -t
6
7.PHONY: clean
8clean: ## Remove generated files.
9 $(RM) $(defaults)