From 9f923081318e897d34c4db1b05a8b91306dc4326 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 11 Jan 2025 17:43:12 +0100 Subject: [PATCH] Add test target in meta makefile --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0ea4232..5415e3c 100644 --- a/Makefile +++ b/Makefile @@ -7,9 +7,14 @@ build: $(SUBDIRS) $(MAKE) -j$(nproc) -C $$dir; \ done +test: $(SUBDIRS) build + @for dir in $(SUBDIRS); do \ + $(MAKE) -j$(nproc) test -C $$dir; \ + done + clean: @for dir in $(SUBDIRS); do \ make -C $$dir clean; \ done -.PHONY: build clean +.PHONY: build clean test