From 55969ae65ed985b0a5d5e74e029793f4048d0f5b Mon Sep 17 00:00:00 2001 From: nvalimak Date: Wed, 27 Oct 2010 13:33:46 +0000 Subject: [PATCH] Added SWCSA git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@923 3cdefd35-fc62-479d-8e8d-bae585ffb9ca --- makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index ada8264..2df1d8b 100644 --- a/makefile +++ b/makefile @@ -2,21 +2,20 @@ CFLAGS= -g -O0 -I./libcds/includes/ -I. FLAGS= -std=c++0x $(CFLAGS) LIBCDS_A=libcds/lib/libcds.a -OBJECTS_TCO= TextCollection/TextCollection.o TextCollection/TextCollectionBuilder.o TextCollection/TCImplementation.o TextCollection/Tools.o TextCollection/BitRank.o TextCollection/TextStorage.o +OBJECTS_TCO= TextCollection/TextCollection.o TextCollection/TextCollectionBuilder.o TextCollection/FMIndex.o TextCollection/FMIndexBuilder.o TextCollection/Tools.o TextCollection/TextStorage.o LIBRLCSA_TCA=TextCollection/incbwt/rlcsa.a LIBLZTRIE_TCA=TextCollection/lzindex/lztrie.a - +LIBSWCSA_TCA=TextCollection/swcsa/swcsa.a all: libcds text_collection XMLTree XMLTree: XMLTree.o XMLTreeBuilder.o bp.o darray.o bpcore.o\ - $(LIBCDS_A) $(OBJECTS_TCO) $(LIBRLCSA_TCA) $(LIBLZTRIE_TCA) + $(LIBCDS_A) $(OBJECTS_TCO) $(LIBRLCSA_TCA) $(LIBLZTRIE_TCA) $(LIBSWCSA_TCA) cp libcds/lib/libcds.a XMLTree.a rm -rf .objs mkdir .objs - cd .objs; ar x ../$(LIBRLCSA_TCA) - cd .objs; ar x ../$(LIBLZTRIE_TCA) + cd .objs; ar x ../$(LIBRLCSA_TCA); ar x ../$(LIBLZTRIE_TCA); ar x ../$(LIBSWCSA_TCA) ar rvcs XMLTree.a XMLTree.o XMLTreeBuilder.o bp.o darray.o bpcore.o $(OBJECTS_TCO) .objs/*.o rm -rf .objs -- 2.17.1