projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ef548d3
)
Merge remote-tracking branch 'upstream/master'
author
philsmd
<philsmd@hashcat.net>
Sun, 6 Dec 2015 15:12:25 +0000
(16:12 +0100)
committer
philsmd
<philsmd@hashcat.net>
Sun, 6 Dec 2015 15:12:25 +0000
(16:12 +0100)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
47a396b
..
2e06169
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-4,16
+4,17
@@
##
##
-## Detect host OS
+## Detect number of processors
##
+NPROCS := $(shell grep -c ^processor /proc/cpuinfo)
OS := $(shell uname)
##
## Makefile flags
##
-MAKEFLAGS += -l -j -rR --no-print-directory
+MAKEFLAGS += -l -j $(NPROCS) -rR --no-print-directory
ifneq ($(findstring clean,$(MAKECMDGOALS)),)
MAKEFLAGS += -j 1