X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=makefile;h=6a8e1594551fccac3a8812b65daa447e89748719;hb=89dc22aee980ba16f757cd9a7f77478c2da50051;hp=277690e4081e4dc0e3095709dbee6be0e6904eb1;hpb=45c7e1d6982756c560b2707e4f20339c1076d9f9;p=SXSI%2FTextCollection.git diff --git a/makefile b/makefile index 277690e..6a8e159 100644 --- a/makefile +++ b/makefile @@ -1,12 +1,15 @@ CC = g++ LIBCDSPATH = ../libcds -CPPFLAGS = -Wall -ansi -g -I$(LIBCDSPATH)/includes/ -O2 -DNDEBUG +CPPFLAGS = -Wall -ansi -g -I$(LIBCDSPATH)/includes/ -O3 -DNDEBUG LIBCDSA = $(LIBCDSPATH)/lib/libcds.a +LIBRLCSA = incbwt/rlcsa.a +LIBLZTRIE = lzindex/lztrie.a +LIBSWCSA = swcsa/swcsa.a dcover_obs = dcover/difference_cover.o -TextCollection_obs = TextCollection.o TextCollectionBuilder.o TCImplementation.o Tools.o BitRank.o \ - incbwt/rlcsa.a ${LIBCDSA} +TextCollection_obs = TextCollection.o TextCollectionBuilder.o FMIndexBuilder.o FMIndex.o Tools.o \ + TextStorage.o ${LIBRLCSA} ${LIBCDSA} ${LIBLZTRIE} ${LIBSWCSA} TCDebug_obs = bittree.o rbtree.o dynFMI.o all: testTextCollection @@ -23,10 +26,21 @@ test2dRange: test2dRange.o ${LIBCDSA} incbwt/rlcsa.a: @make -C incbwt +lzindex/lztrie.a: + @make -C lzindex + +swcsa/swcsa.a: + @make -C swcsa + clean: @make clean -C incbwt + @make clean -C lzindex + @make clean -C swcsa rm -f core *.o *~ testTextCollection timeTextCollection dcover/*.o dcover/*~ +shallow_clean: + rm -f core *.o *~ testTextCollection timeTextCollection + depend: @make depend -C incbwt $(CC) -MM *.cpp > dependencies.mk