From 9491b1f1a453f1c3b52b170e28cce6203f7231b5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 17 Jan 2018 00:21:02 +0100 Subject: Update --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e39c6d4..a8a9d91 100644 --- a/Makefile +++ b/Makefile @@ -163,6 +163,12 @@ endif CORE_DIR := ./src LIBRETRO_DIR := ./libretro +ifeq ($(DEBUG), 1) +DEFINES += -O0 -g +else +DEFINES += -O2 -DNDEBUG=1 +endif + include Makefile.common OBJS := $(SOURCES:.c=.o) -- cgit v1.2.3