From d1044a94a1713739b3f60b220134c9eddcee85b4 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 7 Sep 2025 21:57:49 +0200 Subject: [PATCH 1/2] Build subdirs with 'make sub' --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 08d394c..23abcad 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,9 @@ ELF := $(SRC:.c=.elf) all: $(ELF) +sub: + @-find . -mindepth 1 -maxdepth 1 -type d -exec make --no-print-directory -C {} \; + tags: ctags -R . @@ -32,5 +35,6 @@ format: clean: @echo "Cleaning up..." @rm -rf $(OBJ) $(ELF) *.json .cache + @find . -mindepth 1 -maxdepth 1 -type d -exec make --no-print-directory -C {} clean \; .PHONY: format From aa013fa349c8e4cdff5d30db1a79cb19fdc5a2d7 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 7 Sep 2025 21:57:58 +0200 Subject: [PATCH 2/2] Silence stuff for now --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 23abcad..79ce3cd 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +.SILENT: + CC := gcc CFLAGS := -Wall -Wextra -O2