summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2021-02-12 01:49:00 +0100
committertwinaphex2021-02-12 01:49:00 +0100
commita63f56a85f9e97de0359a2e597de3f797a0b3194 (patch)
treeba8bd1f2f4b774caf77d5efecfaea2b48a11d319 /Makefile
parent56aa9b3cca12180b7ebad56b97286c1a93b59e16 (diff)
downloadsnes9x2002-a63f56a85f9e97de0359a2e597de3f797a0b3194.tar.gz
snes9x2002-a63f56a85f9e97de0359a2e597de3f797a0b3194.tar.bz2
snes9x2002-a63f56a85f9e97de0359a2e597de3f797a0b3194.zip
Silence some warnings that popped up with MSVC
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index acbc259..d226ff5 100644
--- a/Makefile
+++ b/Makefile
@@ -344,6 +344,8 @@ LIBRETRO_DIR := ./libretro
ifeq ($(DEBUG), 1)
DEFINES += -O0 -g
+else ifneq (,$(findstring msvc,$(platform)))
+DEFINES += -O2 -DNDEBUG=1
else
DEFINES += -O3 -DNDEBUG=1
endif