aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 29f02fd..7360770 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,12 @@ CFLAGS += -Wall -Iinclude -ffast-math
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -ggdb
else
+ifeq ($(platform), vita)
+CFLAGS += -O1 -DNDEBUG
+else
CFLAGS += -O2 -DNDEBUG
endif
+endif
CXXFLAGS += $(CFLAGS)
#DRC_DBG = 1
#PCNT = 1