Makefile
author viric@llimona
Sun, 02 Sep 2007 15:59:31 +0200
changeset 26 700a68421116
parent 25 8d524bb8dcea
child 30 d30178b2a9e6
permissions -rw-r--r--
Adding .hgignore and the ia5test.
CFLAGS=-g
CC=gcc
CXX=g++
ICULIBS=-pthread -static /usr/lib/libicui18n.a \
	/usr/lib/libicuuc.a \
	/usr/lib/libicudata.a

#ICULIBS=-licui18n -licuuc -licudata


all: dictre idx2index trim-nou8 ia5 asciiigi-utf8-akcenton prepare_akcentiga \
	zparsetext zrustest http_dec_test prepare_meanings

idx2index: idx2index.o dict.o
trim-nou8: trim-nou8.c
asciiigi-utf8-akcenton: asciiigi-utf8-akcenton.c

ia5: ia5.o dict.o

dictre: load.o dict.o write.o sort.o filter.o main.o fastmalloc.o repeated.o
	$(CC) -o $@ $^

prepare_akcentiga: zload.o dict.o zdefs.o zhash.o zrus.o
	$(CXX) -o $@ $^ $(ICULIBS)

zparsetext: parse_text.o zrus.o find.o dict.o http_dec.o
	$(CXX) -o $@ $^ $(ICULIBS)

zrustest: zrustest.o zrus.o
	$(CXX) -o $@ $^ $(ICULIBS)

http_dec_test: http_dec_test.o http_dec.o
	$(CXX) -o $@ $^ $(ICULIBS)

prepare_meanings: prepare_meanings.o find.o dict.o
	$(CC) -o $@ $^

dict.c: dictre.h
write.c: dictre.h
load.c: dictre.h
sort.c: dictre.h
filter.c: dictre.h
main.c: dictre.h
fastmalloc.c: dictre.h
repeated.c: dictre.h
ia5.c: dictre.h
zload.c: dictre.h
zdefs.c: dictre.h
zhash.c: dictre.h
zrus.c: dictre.h
find.c: dictre.h
zrustest.c: dictre.h
http_dec.c: dictre.h
http_dec_test.c: dictre.h
prepare_meanings.c: dictre.h