X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=makefile;h=8c88467a2348458d972a8d54706369fe87d3fbcf;hb=46d3fee70e7e9576c4cc8af46cd66c1c8eceb1e9;hp=6d071a61ded05d4ec4db1f5c7740ca6b60630e06;hpb=d660b6ec5cd55019d17188810b783a2e3a94fa49;p=SXSI%2FTextCollection.git diff --git a/makefile b/makefile index 6d071a6..8c88467 100644 --- a/makefile +++ b/makefile @@ -1,14 +1,16 @@ CC = g++ LIBCDSPATH = ../libcds -CPPFLAGS = -Wall -ansi -g -I$(LIBCDSPATH)/includes/ -O2 -DNDEBUG +CPPFLAGS = -Wall -ansi -g -I$(LIBCDSPATH)/includes/ -O3 -DNDEBUG +#CPPFLAGS = -Wall -ansi -g -I$(LIBCDSPATH)/includes/ 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 RLCSABuilder.o FMIndex.o Tools.o \ + TextStorage.o Query.o EditDistance.o ResultSet.o ${LIBRLCSA} ${LIBCDSA} ${LIBLZTRIE} ${LIBSWCSA} TCDebug_obs = bittree.o rbtree.o dynFMI.o all: testTextCollection @@ -28,11 +30,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