Blame common/parallel-subdirs.mak

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