diff options
Diffstat (limited to 'scripts/Makefile.data')
-rw-r--r-- | scripts/Makefile.data | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/Makefile.data b/scripts/Makefile.data new file mode 100644 index 0000000..7929e97 --- /dev/null +++ b/scripts/Makefile.data @@ -0,0 +1,15 @@ +all: pinyins.txt + + +pinyins.txt: + python3 genpinyins.py + + +update-header: + python3 genpinyinheader.py > ../src/storage/pinyin_parser_table.h + python3 gendoublepinyinheader.py > ../src/storage/double_pinyin_table.h + python3 genbopomofoheader.py > ../src/storage/chewing_table.h + python3 genchewingkey.py > ../src/storage/chewing_enum.h + + +.PHONY: pinyins.txt |