12 lines
318 B
Makefile
12 lines
318 B
Makefile
|
.PHONY: help
|
||
|
|
||
|
# Show this help prompt
|
||
|
help:
|
||
|
@echo ' Usage:'
|
||
|
@echo ''
|
||
|
@echo ' make <target>'
|
||
|
@echo ''
|
||
|
@echo ' Targets:'
|
||
|
@echo ''
|
||
|
@awk '/^#/{ comment = substr($$0,3) } /^[a-zA-Z][a-zA-Z0-9_-]+:/{ print " ", $$1, comment; comment = "" }' $(MAKEFILE_LIST) | column -t -s ':' | grep -v 'IGNORE' | sort | uniq
|