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