summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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