From bcb58d49a0d493983427fd7e15f716f8a36ea0cb Mon Sep 17 00:00:00 2001 From: JailDoctor Date: Fri, 13 Jan 2023 12:42:56 +0100 Subject: [PATCH] - Release version should not show console --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ea3014a..7c6ad6e 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ source = *.cpp ./lua/*.c windows: @echo off - g++ $(source) -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lmingw32 -lSDL2main -lSDL2 -lSDL2_mixer -o "$(executable).exe" + g++ $(source) -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lmingw32 -lSDL2main -lSDL2 -lSDL2_mixer -mwindows -o "$(executable).exe" strip -s -R .comment -R .gnu.version --strip-unneeded "$(executable).exe" windows_debug: