projects
/
SXSI
/
XMLTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove spurious printfs.
[SXSI/XMLTree.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
5cc06f8
..
feb8ae0
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,10
@@
-INC_FLAGS=-I.. -I../libcds/includes/
+INC_FLAGS=-I.. -I../libcds/includes/
-I.
+ifeq ($(POPCOUNT), 1)
+ POPCOUNT_FLAG=-DHAS_NATIVE_POPCOUNT -mpopcnt
+else
+ POPCOUNT_FLAG=
+endif
ifeq ($(VERBOSE), true)
HIDE=
ifeq ($(VERBOSE), true)
HIDE=
@@
-8,16
+13,25
@@
else
endif
ifeq ($(DEBUG), true)
endif
ifeq ($(DEBUG), true)
- OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -fno-PIC -static
+ OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -static
+else
+ OPT_FLAGS=-O3 $(POPCOUNT_FLAG) -static
+endif
+
+ifeq ($(PROFILE), true)
+ PROF_FLAGS=-pg -g
else
else
- OPT_FLAGS=-O4 $(POPCOUNT_FLAG) -fno-PIC -static
+ PROF_FLAGS=
endif
endif
-CXXFLAGS= -std=c++0x $(INC_FLAGS) $(OPT_FLAGS)
+
+CXXFLAGS=-std=c++0x $(INC_FLAGS) $(OPT_FLAGS) $(PROF_FLAGS)
CXX=g++
CXX=g++
-OBJECTS_XMLTREE=XMLTree.o XMLTreeBuilder.o
-XMLTREE_A=libXMLTree.a
+#OBJECTS_XMLTREE=XMLTree.o XMLTreeBuilder.o
+#XMLTREE_A=libXMLTree.a
+OBJECTS_XMLTREE=bit-vector.o xml-tree.o xml-tree-builder.o
+XMLTREE_A=libxml-tree.a