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