Lines 1-26
Link Here
|
1 |
--- makefile.orig Fri Jan 13 15:30:08 2006 |
1 |
--- makefile.orig Mon Apr 16 16:45:21 2007 |
2 |
+++ makefile Wed Mar 8 16:20:59 2006 |
2 |
+++ makefile Wed Jul 18 22:04:08 2007 |
3 |
@@ -6,12 +6,12 @@ |
3 |
@@ -11,7 +11,7 @@ |
4 |
|
4 |
# CXX should be set to the name of your favorite C++ compiler. |
5 |
# CC should be set to the name of your favorite C++ compiler. |
5 |
# =========================================================== |
6 |
|
6 |
|
7 |
-CC = g++ |
7 |
-CXX = g++ |
8 |
+CC = $(CXX) |
8 |
+#CXX = g++ |
9 |
|
9 |
#CXX = icpc |
10 |
# OPT is the level of optimiztion, default is -O. One should try -O2, -O3 |
10 |
#CXX = CC |
11 |
# ... to find the best optimization level. |
11 |
|
12 |
|
12 |
@@ -19,7 +19,7 @@ |
13 |
-OPT = -g |
13 |
# -O2, -O3 ... to find the best optimization level. |
14 |
+OPT = ${CXXFLAGS} |
14 |
# =================================================================== |
15 |
|
15 |
|
16 |
# CFLAGS is a list of switches to compile TetGen. |
16 |
-CXXFLAGS = -g |
17 |
# |
17 |
+#CXXFLAGS = -g |
18 |
@@ -23,7 +23,7 @@ |
18 |
|
|
|
19 |
# PREDCXXFLAGS is for compiling J. Shewchuk's predicates. It should |
20 |
# always be equal to -O0 (no optimization). Otherwise, TetGen may not |
21 |
@@ -38,7 +38,7 @@ |
19 |
# down the speed of TetGen. They can be skipped by define the -DNDEBUG |
22 |
# down the speed of TetGen. They can be skipped by define the -DNDEBUG |
20 |
# switch. |
23 |
# switch. |
21 |
|
24 |
|
22 |
-CFLAGS = -Wall -DSELF_CHECK |
25 |
-SWITCHES = -Wall -DSELF_CHECK |
23 |
+CFLAGS = -DNDEBUG |
26 |
+SWITCHES = -DNDEBUG |
24 |
|
27 |
|
25 |
#CFLAGS = -funroll-all-loops -fomit-frame-pointer\ |
28 |
# SWITCHES = -Wall -Wabi -Wctor-dtor-privacy \ |
26 |
# -Wall -Wabi -Wctor-dtor-privacy \ |
29 |
# -Woverloaded-virtual -Wno-pmf-conversions -Wsign-promo \ |