From: kim Date: Fri, 18 Feb 2011 13:04:58 +0000 (+0000) Subject: Removed old makefile X-Git-Url: http://git.nguyen.vg/gitweb/?p=SXSI%2FXMLTree.git;a=commitdiff_plain;h=f8887fd661829fa2b90ba55f82ae5b11264fbcd4 Removed old makefile git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1012 3cdefd35-fc62-479d-8e8d-bae585ffb9ca --- diff --git a/makefile b/makefile deleted file mode 100644 index f486f14..0000000 --- a/makefile +++ /dev/null @@ -1,47 +0,0 @@ -CFLAGS= -O3 -DNDEBUG -I./libcds/includes/ -fno-PIC -I. -FLAGS= -std=c++0x $(CFLAGS) - - -LIBCDS_A=libcds/lib/libcds.a -OBJECTS_TCO= TextCollection/TextCollection.o TextCollection/TextCollectionBuilder.o TextCollection/RLCSABuilder.o \ - TextCollection/FMIndex.o TextCollection/FMIndexBuilder.o TextCollection/Tools.o \ - TextCollection/TextStorage.o TextCollection/Query.o TextCollection/EditDistance.o TextCollection/ResultSet.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) $(LIBSWCSA_TCA) - cp libcds/lib/libcds.a XMLTree.a - rm -rf .objs - mkdir .objs - 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 - -XMLTree.o: bp.c bp.h bpcore.c XMLTree.cpp XMLTree.h basics.h - g++ $(FLAGS) -c XMLTree.cpp - -bp.o: bp.c bpcore.c darray.c bp.h darray.h - g++ $(FLAGS) -c bp.c - -darray.o: darray.c darray.h bpcore.c - g++ $(FLAGS) -c darray.c - -bpcore.o: bpcore.c - g++ $(FLAGS) -c bpcore.c - -XMLTreeBuilder.o: XMLTree.h XMLTreeBuilder.h XMLTreeBuilder.cpp basics.h - g++ $(FLAGS) -c XMLTreeBuilder.cpp - -text_collection: - make -C TextCollection/ - -libcds: - make -C libcds/ - -clean: - rm -f *.[oa]