LZ index support
authornvalimak <nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Fri, 29 May 2009 14:39:04 +0000 (14:39 +0000)
committernvalimak <nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Fri, 29 May 2009 14:39:04 +0000 (14:39 +0000)
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/TextCollection@420 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

makefile

index 277690e..6d071a6 100644 (file)
--- a/makefile
+++ b/makefile
@@ -2,11 +2,13 @@ CC = g++
 LIBCDSPATH = ../libcds
 CPPFLAGS = -Wall -ansi -g -I$(LIBCDSPATH)/includes/ -O2 -DNDEBUG
 LIBCDSA = $(LIBCDSPATH)/lib/libcds.a
+LIBRLCSA = incbwt/rlcsa.a
+LIBLZTRIE = lzindex/lztrie.a
 
 dcover_obs = dcover/difference_cover.o
 
 TextCollection_obs = TextCollection.o TextCollectionBuilder.o TCImplementation.o Tools.o BitRank.o \
-                     incbwt/rlcsa.a ${LIBCDSA}
+                     TextStorage.o ${LIBRLCSA} ${LIBCDSA} ${LIBLZTRIE}
 TCDebug_obs =  bittree.o rbtree.o dynFMI.o 
 
 all: testTextCollection
@@ -23,8 +25,12 @@ test2dRange: test2dRange.o ${LIBCDSA}
 incbwt/rlcsa.a:
        @make -C incbwt
 
+lzindex/lztrie.a:
+       @make -C lzindex
+
 clean:
        @make clean -C incbwt
+       @make clean -C lzindex
        rm -f core *.o *~ testTextCollection timeTextCollection dcover/*.o dcover/*~
 
 depend: