From 464e3ff178545c21de8e2d64f8c8cd7dec4d5384 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 16 Oct 2025 14:16:44 -0400 Subject: makefile: help for sub-dir targets + sorting --- Makefile | 4 ++-- 1 file 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}' -- cgit v1.2.3