- S'inclou el que fa falta pa ficar el iconet al compilar en windows_release

This commit is contained in:
2023-10-22 17:25:54 +02:00
parent ccc4f760b2
commit 438e24ab9e
3 changed files with 2 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ source = source/*.cpp
windows: windows:
@echo off @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" 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" strip -s -R .comment -R .gnu.version --strip-unneeded "$(executable).exe"

1
icon.rc Normal file
View File

@@ -0,0 +1 @@
id ICON "icon.ico"

BIN
icon.res Normal file

Binary file not shown.