Added TaggedFollBelow
[SXSI/XMLTree.git] / makefile
1 FLAGS =-std=c++0x -O3 -I./libcds/includes/\r
2 \r
3 OBJECTS=libcds/lib/libcds.a\r
4 OBJECTS_TC= TextCollection/TextCollection.o TextCollection/CSA.o TextCollection/Tools.o TextCollection/BitRank.o TextCollection/bittree.o TextCollection/rbtree.o TextCollection/dynFMI.o TextCollection/RLWaveletTree.o TextCollection/GapEncode.o TextCollection/BSGAP.o\r
5 \r
6 all: libcds text_collection XMLTree\r
7 \r
8 XMLTree: XMLTree.o bp.o darray.o bpcore.o libcds/lib/libcds.a\r
9         cp libcds/lib/libcds.a XMLTree.a\r
10         ar vrcs XMLTree.a XMLTree.o bp.o darray.o bpcore.o $(OBJECTS_TC)\r
11 \r
12 \r
13 XMLTree.o: bp.c bp.h bpcore.c XMLTree.cpp XMLTree.h\r
14         g++ $(FLAGS) -c XMLTree.cpp\r
15 \r
16 bp.o: bp.c bpcore.c darray.c bp.h darray.h\r
17         g++ $(FLAGS) -c bp.c\r
18 \r
19 darray.o: darray.c darray.h bpcore.c\r
20         g++ $(FLAGS) -c darray.c\r
21 \r
22 bpcore.o: bpcore.c\r
23         g++ $(FLAGS) -c bpcore.c\r
24 \r
25 text_collection:\r
26         make -C TextCollection/\r
27 \r
28 libcds:\r
29         make -C libcds/\r
30 \r
31 clean:\r
32         rm -f *.o \r