X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=makefile;h=c3a7e94c338c4df302534455e12b4315790693ad;hb=9b3825663e88360c57dfe66cee5330f8f80fb452;hp=a3b0e611349521a87f2fad18689a982c6fe8b085;hpb=06260768333318ea4689855ba3e2580ef254ea3a;p=SXSI%2FXMLTree.git diff --git a/makefile b/makefile index a3b0e61..c3a7e94 100644 --- a/makefile +++ b/makefile @@ -1,12 +1,14 @@ -FLAGS = -O9 -I./libcds/includes/ +FLAGS = -O3 -I./libcds/includes/ OBJECTS=libcds/lib/libcds.a +OBJECTS_TC= TextCollection/BitRank.o TextCollection/dynFMI.o TextCollection/rbtree.o TextCollection/Tools.o TextCollection/bittree.o TextCollection/handle.o TextCollection/CSA.o TextCollection/pos.o TextCollection/TextCollection.o -all: text_collection XMLTree + +all: libcds text_collection XMLTree XMLTree: XMLTree.o bp.o darray.o bpcore.o libcds/lib/libcds.a cp libcds/lib/libcds.a XMLTree.a - ar vrcs XMLTree.a XMLTree.o bp.o darray.o bpcore.o + ar vrcs XMLTree.a XMLTree.o bp.o darray.o bpcore.o $(OBJECTS_TC) XMLTree.o: bp.c bp.h bpcore.c XMLTree.cpp XMLTree.h @@ -24,5 +26,8 @@ bpcore.o: bpcore.c text_collection: make -C TextCollection/ +libcds: + make -C libcds/ + clean: - rm -f *.o \ No newline at end of file + rm -f *.o