Last active 1707331072

Makefile that shows targets names automatically, (I don't remember the source, if you know the source or are the source please contact me)

Makefile Raw
1help:
2 @echo "targets:"
3 @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) \
4 | sed -n 's/^\(.*\): \(.*\)##\(.*\)/ \1|\3/p' \
5 | column -t -s '|'
6
7.PHONY: clean
8clean: ## clean the uneeded files
9 code_to_clean_the_files