diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-10-16 14:16:44 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-10-16 14:16:44 -0400 |
| commit | 464e3ff178545c21de8e2d64f8c8cd7dec4d5384 (patch) | |
| tree | 112a4de45dee8e57f50790e992e62e28682db98b | |
| parent | fb575049567ba037cf30f43d99a67fd1981b59a4 (diff) | |
makefile: help for sub-dir targets + sorting
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -87,8 +87,8 @@ obj/%.o : tests/%.cpp | prepare $(cxx-command) bin/pke-at: ## Builds the pke-at executable -bin/pke-at: obj/level-main.o bin/pke-at: obj/level-init.o +bin/pke-at: obj/level-main.o bin/pke-at: obj/main.o bin/pke-at: obj/pke-at-common.o bin/pke-at: obj/pke-at-settings.o @@ -110,5 +110,5 @@ clean: .PHONY: help help: ## Prints help for targets with comments - @cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + @cat $(MAKEFILE_LIST) | grep -E '^[/a-zA-Z_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
