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