Initial import of XMLTree
[SXSI/XMLTree.git] / Makefile
1 FLAGS = -O9 -I./libcds/includes/\r
2 \r
3 OBJECTS=libcds/lib/libcds.a\r
4 \r
5 all: text_collection XMLTree\r
6 \r
7 XMLTree: XMLTree.o bp.o darray.o bpcore.o libcds/lib/libcds.a\r
8         cp libcds/lib/libcds.a XMLTree.a\r
9         ar vrcs XMLTree.a XMLTree.o bp.o darray.o bpcore.o\r
10 \r
11 \r
12 XMLTree.o: bp.c bp.h bpcore.c XMLTree.cpp XMLTree.h\r
13         g++ $(FLAGS) -c XMLTree.cpp\r
14 \r
15 bp.o: bp.c bpcore.c darray.c bp.h darray.h\r
16         g++ $(FLAGS) -c bp.c\r
17 \r
18 darray.o: darray.c darray.h bpcore.c\r
19         g++ $(FLAGS) -c darray.c\r
20 \r
21 bpcore.o: bpcore.c\r
22         g++ $(FLAGS) -c bpcore.c\r
23 \r
24 text_collection:\r
25         make -C TextCollection/\r
26 \r
27 clean:\r
28         rm -f *.o