Last active
January 20, 2023 02:59
-
-
Save dschep/6c76490844182d74efade3563535075f to your computer and use it in GitHub Desktop.
Self documenting Makefile based on https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: help | |
help: # Print help | |
@awk 'BEGIN {FS = ":.*?# *"} /^[.a-zA-Z_-]+:.*?# */ {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment