changeset 17:75babf13922e

Optimize by default.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 24 Sep 2011 08:44:42 +0300
parents e17a7ae67820
children 729d4555e08c
files GNUmakefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/GNUmakefile	Sat Sep 24 08:44:15 2011 +0300
+++ b/GNUmakefile	Sat Sep 24 08:44:42 2011 +0300
@@ -79,13 +79,13 @@
 #CXX =
 
 # Options used when compiling Atclib.
-CFLAGS = -O
+CFLAGS = -O2
 
 # Options used when compiling and linking Yadex.
 # ld is invoked through the C++ compiler so
 # LDFLAGS should not contain options that mean
 # something to the C++ compiler.
-CXXFLAGS = -O
+CXXFLAGS = -O3
 #CXXFLAGS += -DWHITE_BACKGROUND
 #LDFLAGS  =
 
@@ -93,7 +93,7 @@
 # targets. Not used by normal end-user targets.
 # Unlike CFLAGS, CXXFLAGS and LDFLAGS, assume
 # GCC/EGCS.
-DCFLAGS		= -g -O
+DCFLAGS		= -g -O3
 DCFLAGS		+= -Wall			# GCC warnings
 DCFLAGS		+= -pedantic			# GCC warnings
 DCFLAGS		+= -Wno-parentheses		# GCC warnings
@@ -106,7 +106,7 @@
 DCFLAGS		+= -Winline			# GCC warnings
 DCFLAGS		+= -pg				# Profiling
 
-DCXXFLAGS	= -g -O
+DCXXFLAGS	= -g -O3
 DCXXFLAGS	+= -Wall			# GCC warnings
 DCXXFLAGS	+= -pedantic			# GCC warnings
 DCXXFLAGS	+= -Wno-parentheses		# GCC warnings