Compare commits

...

2 Commits

Author SHA1 Message Date
52b7c1f3e0
Adding .gitignore 2024-12-02 21:58:12 -05:00
ff241e6757
Adding help option in makefile 2024-12-02 21:42:15 -05:00
2 changed files with 13 additions and 4 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
map.txt
*.txt

View File

@ -1,5 +1,14 @@
map.txt: map.ge
grep -v '# unimportant' $< | graph-easy --boxart > $@
.PHONY: help
full_map.txt: map.ge
help: ## Print the help message
@awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z._-]+:.*?## / {printf "\033[36m%s\033[0m : %s\n", $$1, $$2}' $(MAKEFILE_LIST) | \
sort | \
column -s ':' -t
map.txt: map.ge ## Making map.txt
grep -v '# unimportant' $< | graph-easy --boxart > $@
cat $@
full_map.txt: map.ge ## Generating full_map.txt with graph-easy
graph-easy --boxart < $< > $@
cat $@