From cd615b3e795c2cc40772b20026ff8068fa1a993c Mon Sep 17 00:00:00 2001 From: radius Date: Thu, 2 Jun 2016 23:38:04 -0500 Subject: [PATCH] fix mwindows flag on the makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 9a445a1720..082939d858 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.