From d028905b6c8ebc31c69b8d431b3ae6eadf9b99b0 Mon Sep 17 00:00:00 2001 From: radius Date: Fri, 4 Dec 2015 21:08:52 -0500 Subject: [PATCH] remove the windows console in non-debug windows builds --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 9b16a0f5e7..85cd55a8c1 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,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.