summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.data
blob: 7b4fe0e3905cd7a87d98172faed8580201736867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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


.PHONY: pinyins.txt