From f4215384fe9f423864d1856a983a1f35483a021a Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Thu, 13 Oct 2022 10:46:40 +0200 Subject: [PATCH] Actualizado Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a65c471..472e170 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ executable = coffee_crisis windows: @echo off if not exist bin\ (mkdir bin) - g++ -std=c++11 -Wall -O2 source/*.cpp -lmingw32 -lSDL2main -lSDL2 -ffunction-sections -fdata-sections -Wl,--gc-sections -o bin/$(executable).exe + g++ -std=c++11 -Wall -O2 source/*.cpp -lmingw32 -lSDL2main -lSDL2 -ffunction-sections -fdata-sections -Wl,--gc-sections -static-libstdc++ -o bin/$(executable).exe strip -s -R .comment -R .gnu.version bin/$(executable).exe --strip-unneeded macos: mkdir -p bin