diff --git a/Makefile b/Makefile index 6c8434a..42e08f9 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ source = source/*.cpp windows: @echo off + windres icon.rc -O coff icon.res g++ $(source) icon.res -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" diff --git a/icon.rc b/icon.rc new file mode 100644 index 0000000..ff5fdbe --- /dev/null +++ b/icon.rc @@ -0,0 +1 @@ +id ICON "icon.ico" \ No newline at end of file diff --git a/icon.res b/icon.res new file mode 100644 index 0000000..d95f29b Binary files /dev/null and b/icon.res differ