X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=makefile;h=6d071a61ded05d4ec4db1f5c7740ca6b60630e06;hb=d660b6ec5cd55019d17188810b783a2e3a94fa49;hp=277690e4081e4dc0e3095709dbee6be0e6904eb1;hpb=e36f9fc04d80b572987d00d6a6ae15af08ad1dbb;p=SXSI%2FTextCollection.git diff --git a/makefile b/makefile index 277690e..6d071a6 100644 --- 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: