update Makefile

This commit is contained in:
Akbar Rahman 2022-01-27 20:17:13 +00:00
parent 595a70e40c
commit 38d0ec2017
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

@ -1,16 +1,9 @@
WORD_LENGTH=5 WORD_LENGTH=5
MIN_FREQUENCY=9 MIN_FREQUENCY=3
SOURCE_WORDLIST=1_1_all_fullalpha.txt SOURCE_WORDLIST=1_1_all_fullalpha.txt
wordlist.js: english-words wordlist.js:
./scripts/gen_wordlist.py ${SOURCE_WORDLIST} ${WORD_LENGTH} ${MIN_FREQUENCY} > wordlist.js ./scripts/gen_wordlist.py ${SOURCE_WORDLIST} ${WORD_LENGTH} ${MIN_FREQUENCY} > wordlist.js
english-words: .SUBMODULES
clean: clean:
rm -rf wordlist.js rm -rf wordlist.js
.SUBMODULES:
git submodule init
git submodule update