summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleocad1999-11-14 08:29:43 +0000
committerleocad1999-11-14 08:29:43 +0000
commit7f7095565858ff4ed5748e39a46fe4c7ac964700 (patch)
tree81671d1b1f7f7a6564aa779ede53a8db175438ca
parentd71eec8062e852e56f03102ba4b4e87dc485821d (diff)
Added -O2 option
Added comment about using -g to debug git-svn-id: http://svn.leocad.org/trunk@6 c7d43263-9d01-0410-8a33-9dba5d9f93d6
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 047676f..9852c1f 100644
--- a/config.mk
+++ b/config.mk
@@ -5,10 +5,12 @@ include version.mk
CC := gcc
CXX := g++
-DEBUG := -g
OS := -D_LINUX
OSDIR := linux
+# (Add a -g for debugging)
+CPPFLAGS += -O2
+
# Add compile options, such as -I option to include jpeglib's headers
# CPPFLAGS += -I/home/fred/jpeglib