From: kim Date: Mon, 24 Nov 2008 23:58:51 +0000 (+0000) Subject: . X-Git-Url: http://git.nguyen.vg/gitweb/?a=commitdiff_plain;h=06260768333318ea4689855ba3e2580ef254ea3a;p=SXSI%2FXMLTree.git . git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@9 3cdefd35-fc62-479d-8e8d-bae585ffb9ca --- diff --git a/Makefile b/Makefile deleted file mode 100644 index a3b0e61..0000000 --- a/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -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 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