--- makefile.orig	Fri Jan 13 15:30:08 2006
+++ makefile	Wed Mar  8 16:20:59 2006
@@ -6,12 +6,12 @@
 
 # CC should be set to the name of your favorite C++ compiler.
 
-CC = g++
+CC = $(CXX)
 
 # OPT is the level of optimiztion, default is -O. One should try -O2, -O3
 #   ... to find the best optimization level.
 
-OPT = -g
+OPT = ${CXXFLAGS}
 
 # CFLAGS is a list of switches to compile TetGen.
 #
@@ -23,7 +23,7 @@
 #   down the speed of TetGen.  They can be skipped by define the -DNDEBUG
 #   switch.
 
-CFLAGS = -Wall -DSELF_CHECK
+CFLAGS = -DNDEBUG
 
 #CFLAGS = -funroll-all-loops -fomit-frame-pointer\
 #         -Wall -Wabi -Wctor-dtor-privacy \
