summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2022-10-29 17:49:12 -0500
committerGitHub <noreply@github.com>2022-10-29 17:49:12 -0500
commit425dd775087319cdab0977911ab6d2643bc5afb8 (patch)
treefe5be9be6ef9d5de713e9a041f60b27870f7282d
parentd994ce8b48d752148d1218c5b647d6a7c1921495 (diff)
parent07f439c598d585651871794a96c0d124f77a5d56 (diff)
downloadSensor-Watch-425dd775087319cdab0977911ab6d2643bc5afb8.tar.gz
Sensor-Watch-425dd775087319cdab0977911ab6d2643bc5afb8.tar.bz2
Sensor-Watch-425dd775087319cdab0977911ab6d2643bc5afb8.zip
Merge pull request #110 from wryun/fix-makefile-parallelism-linux
Fix Linux Makefile parallelism
-rw-r--r--make.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make.mk b/make.mk
index 25401642..2fe89d75 100644
--- a/make.mk
+++ b/make.mk
@@ -31,7 +31,7 @@ else
endif
ifeq ($(DETECTED_OS), LINUX)
- MAKEFLAGS += -j `nproc`
+ MAKEFLAGS += -j $(shell nproc)
endif
ifeq ($(DETECTED_OS), OSX)
NPROCS = $(shell sysctl hw.ncpu | grep -o '[0-9]\+')