forked from HIT-SCIR/ltp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (38 loc) · 778 Bytes
/
Makefile
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
#################################################
# Example for call LTP libraries under UNIX #
#################################################
cc=g++
ccflags=-O2
all: cws \
pos \
par \
ner \
srl
cws: cws.cpp
${cc} ${ccflags} -o cws cws.cpp -I./ \
-I../include/ \
-I../thirdparty/boost/include \
-L../lib/ -lsegmentor -lboost_regex
pos: pos.cpp
${cc} ${ccflags} -o pos pos.cpp -I./ \
-I../include/ \
-L../lib/ -lpostagger
ner: ner.cpp
${cc} ${ccflags} -o ner ner.cpp -I./ \
-I../include \
-L../lib/ -lner
par: par.cpp
${cc} ${ccflags} -o par par.cpp -I./ \
-I../include \
-L../lib -lparser
srl: srl.cpp
${cc} ${ccflags} -o srl srl.cpp -I./ \
-I../include \
-L../lib -lsrl
.PHONY: clean
clean:
rm cws
rm pos
rm ner
rm par
rm srl