author | viric <viriketo@gmail.com> |
Fri, 30 Mar 2012 18:56:20 +0200 | |
changeset 33 | ebbedaa090be |
parent 30 | d30178b2a9e6 |
permissions | -rw-r--r-- |
30
d30178b2a9e6
Making the makefile not depend on /usr.
viric <viriketo@gmail.com>
parents:
25
diff
changeset
|
1 |
CFLAGS=-g -O2 |
0 | 2 |
CC=gcc |
17 | 3 |
CXX=g++ |
30
d30178b2a9e6
Making the makefile not depend on /usr.
viric <viriketo@gmail.com>
parents:
25
diff
changeset
|
4 |
#ICULIBS=-pthread -static /usr/lib/libicui18n.a \ |
d30178b2a9e6
Making the makefile not depend on /usr.
viric <viriketo@gmail.com>
parents:
25
diff
changeset
|
5 |
# /usr/lib/libicuuc.a \ |
d30178b2a9e6
Making the makefile not depend on /usr.
viric <viriketo@gmail.com>
parents:
25
diff
changeset
|
6 |
# /usr/lib/libicudata.a |
17 | 7 |
|
30
d30178b2a9e6
Making the makefile not depend on /usr.
viric <viriketo@gmail.com>
parents:
25
diff
changeset
|
8 |
ICULIBS=-licui18n -licuuc -licudata |
17 | 9 |
|
0 | 10 |
|
25
8d524bb8dcea
Changed the name for zprocess to prepare_akcentiga
viric@llimona
parents:
22
diff
changeset
|
11 |
all: dictre idx2index trim-nou8 ia5 asciiigi-utf8-akcenton prepare_akcentiga \ |
22 | 12 |
zparsetext zrustest http_dec_test prepare_meanings |
2 | 13 |
|
8
09ec33061ff3
Added 'ia5' binary, and fixed the ia5 functions.
viric@llimona
parents:
7
diff
changeset
|
14 |
idx2index: idx2index.o dict.o |
5 | 15 |
trim-nou8: trim-nou8.c |
9 | 16 |
asciiigi-utf8-akcenton: asciiigi-utf8-akcenton.c |
2 | 17 |
|
8
09ec33061ff3
Added 'ia5' binary, and fixed the ia5 functions.
viric@llimona
parents:
7
diff
changeset
|
18 |
ia5: ia5.o dict.o |
09ec33061ff3
Added 'ia5' binary, and fixed the ia5 functions.
viric@llimona
parents:
7
diff
changeset
|
19 |
|
5 | 20 |
dictre: load.o dict.o write.o sort.o filter.o main.o fastmalloc.o repeated.o |
0 | 21 |
$(CC) -o $@ $^ |
2 | 22 |
|
25
8d524bb8dcea
Changed the name for zprocess to prepare_akcentiga
viric@llimona
parents:
22
diff
changeset
|
23 |
prepare_akcentiga: zload.o dict.o zdefs.o zhash.o zrus.o |
17 | 24 |
$(CXX) -o $@ $^ $(ICULIBS) |
14 | 25 |
|
17 | 26 |
zparsetext: parse_text.o zrus.o find.o dict.o http_dec.o |
27 |
$(CXX) -o $@ $^ $(ICULIBS) |
|
15 | 28 |
|
29 |
zrustest: zrustest.o zrus.o |
|
17 | 30 |
$(CXX) -o $@ $^ $(ICULIBS) |
31 |
||
32 |
http_dec_test: http_dec_test.o http_dec.o |
|
33 |
$(CXX) -o $@ $^ $(ICULIBS) |
|
10 | 34 |
|
22 | 35 |
prepare_meanings: prepare_meanings.o find.o dict.o |
36 |
$(CC) -o $@ $^ |
|
37 |
||
2 | 38 |
dict.c: dictre.h |
39 |
write.c: dictre.h |
|
40 |
load.c: dictre.h |
|
41 |
sort.c: dictre.h |
|
42 |
filter.c: dictre.h |
|
43 |
main.c: dictre.h |
|
44 |
fastmalloc.c: dictre.h |
|
5 | 45 |
repeated.c: dictre.h |
8
09ec33061ff3
Added 'ia5' binary, and fixed the ia5 functions.
viric@llimona
parents:
7
diff
changeset
|
46 |
ia5.c: dictre.h |
10 | 47 |
zload.c: dictre.h |
48 |
zdefs.c: dictre.h |
|
49 |
zhash.c: dictre.h |
|
50 |
zrus.c: dictre.h |
|
14 | 51 |
find.c: dictre.h |
15 | 52 |
zrustest.c: dictre.h |
17 | 53 |
http_dec.c: dictre.h |
54 |
http_dec_test.c: dictre.h |
|
22 | 55 |
prepare_meanings.c: dictre.h |