+FLAGS = -O9 -I./libcds/includes/\r
+\r
+OBJECTS=libcds/lib/libcds.a\r
+\r
+all: 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
+\r
+\r
+XMLTree.o: bp.c bp.h bpcore.c XMLTree.cpp XMLTree.h\r
+ g++ $(FLAGS) -c XMLTree.cpp\r
+\r
+bp.o: bp.c bpcore.c darray.c bp.h darray.h\r
+ g++ $(FLAGS) -c bp.c\r
+\r
+darray.o: darray.c darray.h bpcore.c\r
+ g++ $(FLAGS) -c darray.c\r
+\r
+bpcore.o: bpcore.c\r
+ g++ $(FLAGS) -c bpcore.c\r
+\r
+text_collection:\r
+ make -C TextCollection/\r
+\r
+clean:\r
+ rm -f *.o
\ No newline at end of file