1 2 3 4 5 6 7 8 9 10 11 12 13 14
.PHONY: help build clean test help: ## Display help information @printf 'usage: make [target] ...\n\ntargets:\n' @egrep '^(.+)\:\ .*##\ (.+)' ${MAKEFILE_LIST} | sed 's/:.*##/#/' | column -t -c 2 -s '#' build: ## Build debug version @cargo build clean: ## Cleans build resources @cargo clean test: ## Run all tests @cargo test