summaryrefslogtreecommitdiffstats
path: root/make/variant/darwin.rules
blob: d59a222b4d1f2f2a69e9110216469bd6ccfad42a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: ub.build ub.combine ub.clean

ub.build.serial:
	@$(UB.BUILD.SERIAL)

ub.build.parallel:
	@set -e; \
	for arch in $(UB.archs); do \
	    $(call UB.BUILD.PARALLEL,$$arch) & \
	    children="$$children $$!"; \
	    echo "pid $$!: $(call UB.BUILD.PARALLEL,$$arch)"; \
	done; \
	echo "waiting for background jobs to complete:$$children"; \
	wait

ub.combine:
	$(call UB.COMBINE,HandBrake.app/Contents/MacOS/HandBrake)

ub.clean:
	$(RM.EXE) -fr $(foreach n,$(UB.archs.other),ub.$n)