dump
This commit is contained in:
commit
5626d1eacb
24 changed files with 512 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# SUBDIRS = dir1 dir2 dir3
|
||||
SUBDIRS := $(shell find . -mindepth 1 -maxdepth 1 -type d -exec test -e "{}/Makefile" \; -print)
|
||||
|
||||
|
||||
build: $(SUBDIRS)
|
||||
@for dir in $(SUBDIRS); do \
|
||||
$(MAKE) -j$(nproc) -C $$dir; \
|
||||
done
|
||||
|
||||
clean:
|
||||
@for dir in $(SUBDIRS); do \
|
||||
make -C $$dir clean; \
|
||||
done
|
||||
|
||||
.PHONY: build clean
|
||||
Loading…
Add table
Add a link
Reference in a new issue