ref: 630b5e36574e5683531cdc63ae25c4efead44ba4
parent: bd280414ea192b82b2ca8f9dfd9330f6e92eba61
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Apr 4 16:40:02 EDT 2020
Prevent console from appearing in Makefile builds
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,7 @@
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