From 0976a623848f537887d43e35f60ebad1ea230821 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 9 Jun 2014 09:53:33 +0100 Subject: Set -O2 optimisation flag. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3