summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-06-09 08:53:33 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2014-06-09 08:53:33 (GMT)
commit0976a623848f537887d43e35f60ebad1ea230821 (patch)
treebc84e47f9172162c2af4af2b167a75e4115e6f8a
parentc8179e660a44083bc49f98c53b012e5e787b4515 (diff)
downloadalphagen-0976a623848f537887d43e35f60ebad1ea230821.tar.gz
alphagen-0976a623848f537887d43e35f60ebad1ea230821.tar.bz2
Set -O2 optimisation flag.
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a7b4462..eb4df92 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wmissing-declarations -Wnested-externs -Wredundant-decls \
-Wuninitialized -pedantic
+# Optimisation flags
+CFLAGS += -O2
+
# libpng and libz
ifneq ($(findstring clean,$(MAKECMDGOALS)),clean)
CFLAGS := $(CFLAGS) -I$(PREFIX)/include