Hi,
I have the following Makefile, which will go to each subdir and call
"make". But "make" in each subdir can not be executed in parallel
(when I "make" in the parent dir with -j option). I'm wondering if
there is any way to enable parallel compilation.
Thanks,
Peng
#######Makefile
SUBDIRS = $(filter-out Makefile%, $(wildcard *))
.PHONY: all
all:
@for dir in $(filter-out backup, $(SUBDIRS)); do \
$(MAKE) -C $$dir; \
done
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make