1 INC_FLAGS=-I.. -I../libcds/includes/
4 ifeq ($(VERBOSE), true)
11 OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -static
13 OPT_FLAGS=-O4 $(POPCOUNT_FLAG) -static -flto
16 ifeq ($(PROFILE), true)
23 CXXFLAGS=-std=c++0x $(INC_FLAGS) $(OPT_FLAGS) $(PROF_FLAGS)
26 OBJECTS_XMLTREE=XMLTree.o XMLTreeBuilder.o
27 XMLTREE_A=libXMLTree.a
31 all: depend $(XMLTREE_A)
33 $(XMLTREE_A): $(OBJECTS_XMLTREE)
35 $(HIDE) ar rcs $@ $(OBJECTS_XMLTREE)
39 $(HIDE) $(CXX) -c $(CXXFLAGS) $< -o $@
44 $(HIDE) ($(CXX) -MM $(CXXFLAGS) *.cpp) > $@
48 $(HIDE) rm -f *.[oa] depend