aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authortony <tsyrogit@users.noreply.github.com>2016-10-16 18:15:39 +0100
committertony <tsyrogit@users.noreply.github.com>2016-10-16 18:15:39 +0100
commita54831459801fd2c7f5dbc01cea05e2ca78fc898 (patch)
treeade47211a36e2287791b7e0bd4b3521d4916d9f7 /makefile
parent10c4494cfcd52b4fee8eee6c1e1cc814cc1b224c (diff)
downloadzxcvbn-c-a54831459801fd2c7f5dbc01cea05e2ca78fc898.tar.gz
update to use larger dictionaries from the Dropbox version of zxcvbn.
Also allow for repeated sequences.
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 2cf5c9e..ea82f83 100644
--- a/makefile
+++ b/makefile
@@ -9,7 +9,7 @@ CPPFLAGS += -I.
TARGET_LIB = libzxcvbn.so.0.0.0
SONAME = libzxcvbn.so.0
-WORDS = words-10k-pass.txt words-english.txt words-female.txt words-male.txt words-surname.txt
+WORDS = words-eng_wiki.txt words-english.txt words-female.txt words-male.txt words-passwd.txt words-surname.txt words-tv_film.txt
all: test-file test-inline test-c++inline test-c++file test-shlib test-statlib
@@ -49,7 +49,7 @@ dict-crc.h: dictgen $(WORDS)
./dictgen -b -o zxcvbn.dict -h dict-crc.h $(WORDS)
dictgen: dict-generate.cpp makefile
- g++ -std=c++11 $(CPPFLAGS) -o dictgen dict-generate.cpp
+ g++ -std=c++11 -O2 $(CPPFLAGS) -o dictgen dict-generate.cpp
test-c++inline: test.c zxcvbn-c++inline.o
if [ ! -e test.cpp ]; then ln -s test.c test.cpp; fi
@@ -84,7 +84,7 @@ test: test-file test-inline test-c++inline test-c++file test-shlib test-statlib
clean:
rm -f test-file zxcvbn-file.o test-c++file zxcvbn-c++file.o
- rm -f test-inline zxcvbn-inline.o test-c++inline zxcvbn-c++inline.o
+ rm -f test-inline zxcvbn-inline.o test-c++inline zxcvbn-c++inline.o zxcvbn-inline-pic.o
rm -f dict-*.h zxcvbn.dict zxcvbn.cpp test.cpp
rm -f dictgen
rm -f ${TARGET_LIB} ${SONAME} libzxcvbn.so test-shlib libzxcvbn.a test-statlib