FLAGS = -O3 -I./libcds/includes/ OBJECTS=libcds/lib/libcds.a OBJECTS_TC= TextCollection/BitRank.o TextCollection/dynFMI.o TextCollection/rbtree.o TextCollection/Tools.o TextCollection/bittree.o TextCollection/CSA.o TextCollection/TextCollection.o all: libcds 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 $(OBJECTS_TC) 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/ libcds: make -C libcds/ clean: rm -f *.o