File: Makefile.bat

package info (click to toggle)
ipadic 2.4.4-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 20,636 kB
  • ctags: 5
  • sloc: sh: 330; makefile: 102
file content (55 lines) | stat: -rw-r--r-- 751 bytes parent folder | download
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
REM  
REM  Makefile.bat ipadic-2.4.1
REM

@echo off
@echo Makefile.bat for ipadic-2.4.1

cd dic


@echo copy...
copy connect.cha _connect.c
if errorlevel 1 goto ERROREXIT

copy _connect.c _connect.cha
REM cl -E _connect.c > _connect.cha


@echo makemat...
..\mkchadic\makemat
if errorlevel 1 goto ERROREXIT

del _connect.c
del _connect.cha


@echo makeint...
..\mkchadic\makeint -o chadic.txt *.dic
if errorlevel 1 goto ERROREXIT


@echo sortdic...
..\mkchadic\sortdic chadic.txt chadic.int
if errorlevel 1 goto ERROREXIT

del chadic.txt


@echo pattool...
..\mkchadic\pattool -F chadic
if errorlevel 1 goto ERROREXIT

cd ..


@echo chasen dictionary compiled successfully.
goto LAST


:ERROREXIT
@echo cannot make chasen dictionary.


:LAST
@echo on