X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=makefile;h=046043b94b98dad77155ec6c50452819f143fa88;hb=6048d243439020acd3b5acf8654641cb9cef8e27;hp=ecf0ff153809c04708a4384ad209501f5738ae05;hpb=40ddf9aca842bdc081b6350a4ebfe36b066c94c9;p=SXSI%2FTextCollection.git diff --git a/makefile b/makefile index ecf0ff1..046043b 100644 --- a/makefile +++ b/makefile @@ -1,12 +1,14 @@ CC = g++ -LIBCDSPATH = ../XMLTree/libcds -CPPFLAGS = -Wall -ansi -g -I$(LIBCDSPATH)/includes/ -O2 -DNDEBUG +LIBCDSPATH = ../libcds +CPPFLAGS = -Wall -ansi -g -I$(LIBCDSPATH)/includes/ -O3 -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 \ - BSGAP.o incbwt/rlcsa.a ${LIBCDSA} ${dcover_obs} + TextStorage.o ${LIBRLCSA} ${LIBCDSA} ${LIBLZTRIE} TCDebug_obs = bittree.o rbtree.o dynFMI.o all: testTextCollection @@ -17,11 +19,18 @@ testTextCollection: testTextCollection.o $(TextCollection_obs) $(TCDebug_obs) He timeTextCollection: timeTextCollection.o $(TextCollection_obs) $(TCDebug_obs) $(CC) -o timeTextCollection timeTextCollection.o $(TextCollection_obs) $(TCDebug_obs) +test2dRange: test2dRange.o ${LIBCDSA} + $(CC) -o 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: