Add test target in meta makefile

This commit is contained in:
Imbus 2025-01-11 17:43:12 +01:00
parent 46201bbf59
commit 9f92308131

View file

@ -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