diff Makefile @ 260:c5b1dd523ac4

Make default build use -O3 Because it yields such an impressive speedup, make the default build use -O3 instead of -g. If you need the debugging stuff, you can set CFLAGS=-g before building.
author William Astle <lost@l-w.ca>
date Mon, 04 Feb 2013 20:35:47 -0700
parents b97460509c3d
children 1c70570e3d42
line wrap: on
line diff
--- a/Makefile	Fri Feb 01 00:04:19 2013 -0700
+++ b/Makefile	Mon Feb 04 20:35:47 2013 -0700
@@ -19,7 +19,7 @@
 CPPFLAGS += -I lwlib -DPACKAGE_STRING='"lwtools 4.7+"'
 LDFLAGS += -L$(PWD)/lwlib -llw
 
-CFLAGS ?= -g -Wall
+CFLAGS ?= -O3 -Wall
 
 MAIN_TARGETS := lwasm/lwasm$(PROGSUFFIX) \
 	lwlink/lwlink$(PROGSUFFIX) \