summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-04-11 00:13:17 +0000
committerIan C <ianc@noddybox.co.uk>2005-04-11 00:13:17 +0000
commit21ad07ec8779e9b52c6f5acb8bf9fe35cef21449 (patch)
tree5d137504fc8a38ed98b56d2feb8b1b3c5d26a734 /src
parentf8ba03594573e8487927c236180ad5895e73db17 (diff)
Made non-debug build the default
Diffstat (limited to 'src')
-rw-r--r--src/GNUmakefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index e410ca0..3569479 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -18,7 +18,7 @@
#
# -------------------------------------------------------------------------
#
-# $Id: GNUmakefile,v 1.8 2005-04-11 00:03:53 ianc Exp $
+# $Id: GNUmakefile,v 1.9 2005-04-11 00:13:17 ianc Exp $
#
@@ -38,7 +38,7 @@ CREATECONF = 1
# Uncomment this if you want a debug build. Note that debug goes to a file
# called debug.out in the pwd.
#
-DEBUG = -g -DW32D_DEBUG
+#DEBUG = -g -DW32D_DEBUG
#
# **************************************** END OF CONFIGURATION
@@ -47,6 +47,13 @@ DEBUG = -g -DW32D_DEBUG
# Do not change past here.
# Well, unless something doesn't work of course...
#
+
+ifndef DEBUG
+OPT = -O
+else
+OPT =
+endif
+
TARGET = libw32dlib.a
SOURCES = autocheck.cpp \
@@ -66,7 +73,7 @@ HEADERS = w32dlib/*.h
OBJECTS = $(SOURCES:.cpp=.o)
-FLAGS = -I. -Wall $(DEBUG)
+FLAGS = -I. -Wall $(OPT) $(DEBUG)
DEPEND = depend.mak