From d8793cd85afe30ee3e9d3bb6702c8f35612b8fac Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sun, 10 Mar 2019 22:59:06 +0100 Subject: [PATCH] win32: build with -mwindows --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index ae241437..48495bf1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -110,7 +110,8 @@ ifdef COMSPEC GENERATEDOCBIN = ../bin/generatedoc.exe COPT = -W -Wall -Wdeclaration-after-statement -O$(OPTIM) -g -ggdb COPT += $(LUACOPT) - LOPT = $(LUALOPT) + LOPT = -mwindows + LOPT += $(LUALOPT) ifeq ($(API),sdl) SDLCONFIG ?= $(shell which ../3rdparty/usr/bin/sdl-config || which sdl-config) COPT += $(shell $(SDLCONFIG) --cflags) $(TTFCOPT) $(JOYCOPT)