X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=makefile;h=6a8e1594551fccac3a8812b65daa447e89748719;hb=e4b6bdc7cc2a1372e4d4dae50acac55cebcc7e9b;hp=046043b94b98dad77155ec6c50452819f143fa88;hpb=6048d243439020acd3b5acf8654641cb9cef8e27;p=SXSI%2FTextCollection.git diff --git a/makefile b/makefile index 046043b..6a8e159 100644 --- a/makefile +++ b/makefile @@ -4,11 +4,12 @@ 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 \ - TextStorage.o ${LIBRLCSA} ${LIBCDSA} ${LIBLZTRIE} +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 @@ -28,11 +29,18 @@ incbwt/rlcsa.a: 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