Add the following step in the makefile
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
And then add the following line to make help the default step
.DEFAULT_GOAL := help
And add documentation as comments for every step you want to be documented:
build: ## Build command
And then test it by typing only make
in terminal without any other parameters