blob: 21a4dda0588f2ed57a1ff269fccaaabf1b3bcf04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
all: pinyins.txt
pinyins.txt:
awk -f genpinyins.awk -vlen=1 ../data/gb_char.table \
../data/gbk_char.table > $@
awk -f genpinyins.awk -vlen=2 ../data/gb_char.table >> $@
update-header:
python3 genpinyinheader.py > ../src/storage/pinyin_parser_table.h
python3 gendoublepinyinheader.py > ../src/storage/double_pinyin_table.h
.PHONY: pinyins.txt
|