Makefile
changeset 14 a961bb8806b9
parent 10 188a0e3b3fb4
child 15 17a66ceb774a
--- a/Makefile	Tue Aug 28 08:40:49 2007 +0200
+++ b/Makefile	Wed Aug 29 00:19:14 2007 +0200
@@ -1,7 +1,8 @@
-CFLAGS=-O2 -g
+CFLAGS=-g
 CC=gcc
 
-all: dictre idx2index trim-nou8 ia5 asciiigi-utf8-akcenton zprocess
+all: dictre idx2index trim-nou8 ia5 asciiigi-utf8-akcenton zprocess \
+	zparsetext
 
 idx2index: idx2index.o dict.o
 trim-nou8: trim-nou8.c
@@ -12,7 +13,10 @@
 dictre: load.o dict.o write.o sort.o filter.o main.o fastmalloc.o repeated.o
 	$(CC) -o $@ $^
 
-zprocess: zload.o dict.o zdefs.o zhash.o zrus.o fastmalloc.o
+zprocess: zload.o dict.o zdefs.o zhash.o zrus.o
+	$(CC) -o $@ $^
+
+zparsetext: parse_text.o zrus.o find.o dict.o
 	$(CC) -o $@ $^
 
 dict.c: dictre.h
@@ -28,3 +32,4 @@
 zdefs.c: dictre.h
 zhash.c: dictre.h
 zrus.c: dictre.h
+find.c: dictre.h