Blame common/parallel-subdirs.mak
|
Packit |
971217 |
# include this at the end of $MODULE/ext/Makefile.am to force make to
|
|
Packit |
971217 |
# build subdirectories in parallel when make -jN is used. We will end up
|
|
Packit |
971217 |
# descending into all subdirectories a second time, but only after the first
|
|
Packit |
971217 |
# (parallel) run has finished, so it should go right through the second time.
|
|
Packit |
971217 |
|
|
Packit |
971217 |
.PHONY: independent-subdirs $(SUBDIRS)
|
|
Packit |
971217 |
|
|
Packit |
971217 |
independent-subdirs: $(SUBDIRS)
|
|
Packit |
971217 |
|
|
Packit |
971217 |
$(SUBDIRS):
|
|
Packit |
971217 |
$(MAKE) -C $@
|
|
Packit |
971217 |
|
|
Packit |
971217 |
all-recursive: independent-subdirs
|