forked from lunar-debian/diceware-wordlists-fr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (22 loc) · 788 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
GEN=$(CURDIR)/src/genwordlist
LEXFILE=$(CURDIR)/lexique/Lexique381.txt
NODICE_FLAGS=--no-print-dices
FLAGS=-d -x $(CURDIR)/lexique/exclude_words.txt
.PHONY: wordlists extras all clean_all
export
wordlists: wordlist_fr_5d.txt wordlist_fr_4k.txt wordlist_fr_4d.txt wordlist_fr_4d_2.txt
extras:
$(MAKE) -C extra
all: wordlists extras
wordlist_fr_5d.txt: $(LEXFILE)
$(GEN) -n5 -M9 -V6 $< -o $@ $(FLAGS)
wordlist_fr_4k.txt: $(LEXFILE)
$(GEN) --limit=4096 -M7 -V5 $< -o $@ $(FLAGS) $(NODICE_FLAGS)
wordlist_fr_4d.txt: $(LEXFILE)
$(GEN) -n4 -M5 -V4 $< -o $@ $(FLAGS)
wordlist_fr_4d_2.txt: $(LEXFILE)
$(GEN) -n4 -M10 -p3 -l3 $< -o $@ $(FLAGS)
wordlist_fr_5d10.txt: $(LEXFILE)
$(GEN) -n5 --dice-sides=10 -M10 -V4 $< -o $@ $(FLAGS)
clean_all:
rm wordlist*.txt extra/wordlist*.txt