blob: 07229323231544ac272d413cab8b9845cfd41789 (
plain)
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
|
CC=gcc
CFLAGS= -g -Wall -std=c99
CPP=g++
CPPFLAGS= -g3 -Wall -lpthread
PINYINIME_DICTBUILDER=pinyinime_dictbuilder
LIBRARY_SRC= \
../share/dictbuilder.cpp \
../share/dictlist.cpp \
../share/dicttrie.cpp \
../share/lpicache.cpp \
../share/mystdlib.cpp \
../share/ngram.cpp \
../share/searchutility.cpp \
../share/spellingtable.cpp \
../share/spellingtrie.cpp \
../share/splparser.cpp \
../share/utf16char.cpp \
../share/utf16reader.cpp \
all: engine
engine: $(PINYINIME_DICTBUILDER)
$(PINYINIME_DICTBUILDER): $(LIBRARY_SRC) pinyinime_dictbuilder.cpp
@$(CPP) $(CPPFLAGS) -o $@ $?
clean:
-rm -rf $(PINYINIME_DICTBUILDER)
.PHONY: clean
|