- [NEW] Modificada linea de compilació per a compilar estàticament les llibreries (excepte SDL3.dll i libwinpthread-1.dll)

This commit is contained in:
2026-03-25 09:29:18 +01:00
parent 3c942f6391
commit 6656f74659
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ source = source/*.cpp
windows:
@echo off
g++ $(source) bin/icon.res -lmingw32 -lSDL3 -mwindows -o "$(executable).exe"
g++ $(source) bin/icon.res -lmingw32 -lSDL3 -mwindows -ffunction-sections -fdata-sections -static-libstdc++ -static-libgcc -lpthread -o "$(executable).exe"
strip -s -R .comment -R .gnu.version --strip-unneeded "$(executable).exe"
windows_debug: