X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=makefile;fp=makefile;h=a3b0e611349521a87f2fad18689a982c6fe8b085;hb=06260768333318ea4689855ba3e2580ef254ea3a;hp=0000000000000000000000000000000000000000;hpb=0bf9688e2615a9fc07860c5762240e4ce26ee5d3;p=SXSI%2FXMLTree.git diff --git a/makefile b/makefile new file mode 100644 index 0000000..a3b0e61 --- /dev/null +++ b/makefile @@ -0,0 +1,28 @@ +FLAGS = -O9 -I./libcds/includes/ + +OBJECTS=libcds/lib/libcds.a + +all: 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 + + +XMLTree.o: bp.c bp.h bpcore.c XMLTree.cpp XMLTree.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 + +text_collection: + make -C TextCollection/ + +clean: + rm -f *.o \ No newline at end of file