Skip to content

jara001/Makefile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Self-documenting Makefile

Idea comes from Payton White's gist Makefile.

Enhanced by good comments from the community:

Usage

  1. Copy help target to your Makefile.
  2. Mark each Makefile target with ## comment:
target: ## This is the help line
  1. Group your targets using ##@ comments:
another_target: ##@Grouped This will show up as 'Grouped targets'

other_target: ##@Grouped This will show right next to the 'another_target'
  1. Use make to show help!
Usage: make [target] ...

Targets:
help      Show this help message.
target    This is the help line

Grouped targets:
another_target    This will show up as 'Grouped targets'
other_target      This will show right next to the 'another_target'

About

Self-documenting Makefile.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published