From 80782b0bff3484fe1fd1be21c85b6ecfdc5f3a1b Mon Sep 17 00:00:00 2001 From: iWas-Coder Date: Sat, 29 Jun 2024 15:51:12 +0200 Subject: [PATCH] fix: simplify BSD's make wrapper over GNU make --- BSDmakefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/BSDmakefile b/BSDmakefile index 45d616c..5eacd44 100644 --- a/BSDmakefile +++ b/BSDmakefile @@ -19,13 +19,9 @@ # -.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} ${JOBS} + @which gmake >/dev/null 2>&1 || { echo "ERROR: *** GNU make is required for Sparky to build. Stop." && exit 1 } + @gmake ${MAKEFLAGS} ${.TARGETS} all: .DEFAULT