d
Amit DhamuSoftware Engineer
 

List Available Makefile Commands

1 minute read 00000 views

The description for each command is derived from the ## comment which is required next to the name of each command as below.

help: ## List all available commands
    @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)