### Compiler speed switches for both GCC and ICC. These settings are generally
### fast on a broad range of systems, but may be changed experimentally
### ==========================================================================
-GCCFLAGS = -O3
-ICCFLAGS = -fast
+GCCFLAGS = -O3 -msse
+ICCFLAGS = -fast -msse
+
+
+### ==========================================================================
+### Enable/disable debugging, disabled by default
+### ==========================================================================
+GCCFLAGS += -DNDEBUG
+ICCFLAGS += -DNDEBUG
### ==========================================================================
### General compiler settings. Do not change
-GCCFLAGS += -s -Wall -fno-exceptions -fno-rtti -fno-strict-aliasing
-ICCFLAGS += -s -Wall -fno-exceptions -fno-rtti -fno-strict-aliasing -wd383,869,981,10187,10188,11505,11503
+GCCFLAGS += -g -Wall -fno-exceptions -fno-rtti -fno-strict-aliasing
+ICCFLAGS += -g -Wall -fno-exceptions -fno-rtti -fno-strict-aliasing -wd383,869,981,10187,10188,11505,11503
### General linker settings. Do not change
@echo "make osx-ppc64 > PPC-Mac OS X 64 bit. Compiler = g++"
@echo "make osx-x86 > x86-Mac OS X 32 bit. Compiler = g++"
@echo "make osx-x86_64 > x86-Mac OS X 64 bit. Compiler = g++"
+ @echo "make strip > Strip executable"
@echo "make clean > Clean up"
@echo ""
LDFLAGS+='-arch x86_64' \
all
+strip:
+ strip $(EXE)
+
### Compilation. Do not change
$(EXE): $(OBJS)
### Dependencies. Do not change
.depend:
- $(CXX) -MM $(OBJS:.o=.cpp) > $@
+ $(CXX) -msse -MM $(OBJS:.o=.cpp) > $@
include .depend