Last active
October 22, 2019 03:32
-
-
Save rot26/2dd63c498baf1a5ca53dd0c79c93c10c to your computer and use it in GitHub Desktop.
[Makefile help] self-documenting makefile #make #documenting
This file contains hidden or 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
## help: display this help message | |
# Any line prefixed with two hashes will be output on `make help` | |
# The colon `:` is the alignment seperator | |
.PHONY : help | |
help : Makefile | |
@sed -n 's/^##//p' $< | column -t -s: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment