-FLAGS = -O9 -I./libcds/includes/\r
+FLAGS = -O3 -I./libcds/includes/\r
\r
OBJECTS=libcds/lib/libcds.a\r
+OBJECTS_TC= TextCollection/BitRank.o TextCollection/dynFMI.o TextCollection/rbtree.o TextCollection/Tools.o TextCollection/bittree.o TextCollection/CSA.o TextCollection/TextCollection.o\r
\r
-all: text_collection XMLTree\r
+\r
+all: libcds text_collection XMLTree\r
\r
XMLTree: XMLTree.o bp.o darray.o bpcore.o libcds/lib/libcds.a\r
cp libcds/lib/libcds.a XMLTree.a\r
- ar vrcs XMLTree.a XMLTree.o bp.o darray.o bpcore.o\r
+ ar vrcs XMLTree.a XMLTree.o bp.o darray.o bpcore.o $(OBJECTS_TC)\r
\r
\r
XMLTree.o: bp.c bp.h bpcore.c XMLTree.cpp XMLTree.h\r
text_collection:\r
make -C TextCollection/\r
\r
+libcds:\r
+ make -C libcds/\r
+\r
clean:\r
- rm -f *.o
\ No newline at end of file
+ rm -f *.o \r