1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00

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

This commit is contained in:
Jens Steube 2015-12-05 14:30:09 +01:00
parent 490ff03fe1
commit e5adccbf38

View File

@ -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