diff --git a/BSDmakefile b/BSDmakefile index 29007c0..45d616c 100644 --- a/BSDmakefile +++ b/BSDmakefile @@ -19,9 +19,13 @@ # +.if "${.MAKE.JOBS}" != "" + JOBS = -j${.MAKE.JOBS} +.endif + .PHONY: all .DEFAULT: @which gmake >/dev/null 2>&1 || (echo "ERROR: *** GNU make is required for Sparky to build. Stop." && exit 1) - @gmake -s ${.FLAGS} ${.TARGETS} + @gmake -s ${.FLAGS} ${.TARGETS} ${JOBS} all: .DEFAULT