From 630b5e36574e5683531cdc63ae25c4efead44ba4 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sat, 4 Apr 2020 20:40:02 +0100 Subject: [PATCH] Prevent console from appearing in Makefile builds --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5cc0406d..fea71fa1 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ endif ALL_CXXFLAGS += -std=c++98 -MMD -MP -MF $@.d ALL_LIBS += -lkernel32 -lgdi32 -lddraw -ldinput -ldsound -lversion -lshlwapi -limm32 -lwinmm -ldxguid +ALL_LDFLAGS += -mwindows ifeq ($(STATIC), 1) ALL_LDFLAGS += -static