diff --git a/Makefile b/Makefile index 8777782..d2810ae 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ source = source/*.cpp windows: @echo off - g++ $(source) icon.res -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lmingw32 -lSDL2main -lSDL2 -lSDL2_mixer -mwindows -o "$(executable).exe" + g++ $(source) icon.res -lmingw32 -lSDL2main -lSDL2 -lSDL2_mixer -mwindows -o "$(executable).exe" strip -s -R .comment -R .gnu.version --strip-unneeded "$(executable).exe" windows_debug: @@ -24,4 +24,4 @@ linux: strip -s -R .comment -R .gnu.version --strip-unneeded "$(executable)" linux_debug: - g++ $(source) -D DEBUG -g -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lSDL2 -lSDL2_mixer -o "$(executable)_debug" + g++ $(source) -D DEBUG -g -lSDL2 -lSDL2_mixer -o "$(executable)_debug"