From 0a382f43bc5cb07ab23710758e658fb2bb359e3a Mon Sep 17 00:00:00 2001 From: radius Date: Sat, 13 Aug 2016 20:13:40 -0500 Subject: [PATCH] disable the console again on release builds --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index be113b823e..003deea2d7 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,9 @@ ifeq ($(DEBUG), 1) OPTIMIZE_FLAG = -O0 -g else OPTIMIZE_FLAG = -O3 -ffast-math + ifneq ($(findstring Win32,$(OS)),) + LDFLAGS += -mwindows + endif endif CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) $(DEBUG_FLAG) -I.