Remove NPROCS from Makefile, make is able to automatically detect the optimal number of parallel threads

pull/6/head
Jens Steube 9 years ago
parent 490ff03fe1
commit e5adccbf38

@ -4,17 +4,16 @@
##
##
## Detect number of processors
## Detect host OS
##
NPROCS := $(shell grep -c ^processor /proc/cpuinfo)
OS := $(shell uname)
##
## Makefile flags
##
MAKEFLAGS += -l -j $(NPROCS) -rR --no-print-directory
MAKEFLAGS += -l -j -rR --no-print-directory
ifneq ($(findstring clean,$(MAKECMDGOALS)),)
MAKEFLAGS += -j 1

Loading…
Cancel
Save