File: parallel-subdirs.mak

package info (click to toggle)
gst-plugins-bad1.0 1.0.8-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 36,832 kB
  • sloc: ansic: 297,908; cpp: 22,677; sh: 13,303; xml: 6,362; makefile: 4,867; perl: 1,435; objc: 1,273; python: 362; sed: 16
file content (13 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (75)
1
2
3
4
5
6
7
8
9
10
11
12
13
# include this at the end of $MODULE/ext/Makefile.am to force make to
# build subdirectories in parallel when make -jN is used. We will end up
# descending into all subdirectories a second time, but only after the first
# (parallel) run has finished, so it should go right through the second time.

.PHONY: independent-subdirs $(SUBDIRS)

independent-subdirs: $(SUBDIRS)

$(SUBDIRS):
	$(MAKE) -C $@

all-recursive: independent-subdirs