Merge remote-tracking branch 'origin/master' into 0.11
[platform/upstream/gst-common.git] / parallel-subdirs.mak
1 # include this at the end of $MODULE/ext/Makefile.am to force make to
2 # build subdirectories in parallel when make -jN is used. We will end up
3 # descending into all subdirectories a second time, but only after the first
4 # (parallel) run has finished, so it should go right through the second time.
5
6 .PHONY: independent-subdirs $(SUBDIRS)
7
8 independent-subdirs: $(SUBDIRS)
9
10 $(SUBDIRS):
11         $(MAKE) -C $@
12
13 all-recursive: independent-subdirs