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: