words/Makefile

18 lines
404 B
Makefile
Raw Permalink Normal View History

2022-01-27 19:14:29 +00:00
WORD_LENGTH=5
VALID_ANSWER_FREQ_MIN=10
VALID_INPUT_FREQ_MIN=1
2022-01-27 19:14:29 +00:00
SOURCE_WORDLIST=1_1_all_fullalpha.txt
ALLOWED_TYPELIST=allowed_types
2022-01-27 19:14:29 +00:00
2022-01-27 22:05:10 +00:00
all: wordlist.js .SUBMODULES
2022-01-27 20:17:13 +00:00
wordlist.js:
./scripts/gen_wordlist.py ${SOURCE_WORDLIST} ${WORD_LENGTH} ${VALID_ANSWER_FREQ_MIN} ${VALID_INPUT_FREQ_MIN} ${ALLOWED_TYPELIST} > wordlist.js
2022-01-27 18:36:45 +00:00
clean:
rm -rf wordlist.js
2022-01-27 22:05:10 +00:00
.SUBMODULES:
git submodule init
git submodule update