mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
3f79ac5964
@ -4,16 +4,17 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
##
|
##
|
||||||
## Detect host OS
|
## Detect number of processors
|
||||||
##
|
##
|
||||||
|
|
||||||
|
NPROCS := $(shell grep -c ^processor /proc/cpuinfo)
|
||||||
OS := $(shell uname)
|
OS := $(shell uname)
|
||||||
|
|
||||||
##
|
##
|
||||||
## Makefile flags
|
## Makefile flags
|
||||||
##
|
##
|
||||||
|
|
||||||
MAKEFLAGS += -l -j -rR --no-print-directory
|
MAKEFLAGS += -l -j $(NPROCS) -rR --no-print-directory
|
||||||
|
|
||||||
ifneq ($(findstring clean,$(MAKECMDGOALS)),)
|
ifneq ($(findstring clean,$(MAKECMDGOALS)),)
|
||||||
MAKEFLAGS += -j 1
|
MAKEFLAGS += -j 1
|
||||||
|
Loading…
Reference in New Issue
Block a user