summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-10-16 14:16:44 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-10-16 14:16:44 -0400
commit464e3ff178545c21de8e2d64f8c8cd7dec4d5384 (patch)
tree112a4de45dee8e57f50790e992e62e28682db98b
parentfb575049567ba037cf30f43d99a67fd1981b59a4 (diff)
makefile: help for sub-dir targets + sorting
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 15ca077..63ed08c 100644
--- a/Makefile
+++ b/Makefile
@@ -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}'