X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=makefile;h=2df1d8b28b8c22d6abfb9f26dc5f3d5e204279e3;hb=55969ae65ed985b0a5d5e74e029793f4048d0f5b;hp=ada82648650c220d8e5ed9d47a841be8b7375104;hpb=691d12dccc6710752553f92d300ac4f82f7e67cc;p=SXSI%2FXMLTree.git 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