Add test target in meta makefile
This commit is contained in:
parent
46201bbf59
commit
9f92308131
1 changed files with 6 additions and 1 deletions
7
Makefile
7
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
|
||||
|
|
Loading…
Reference in a new issue