From 0334a7e04e08b865275dfef1412bc69e13b75005 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Wed, 24 Jul 2024 12:35:04 +0200 Subject: [PATCH] actualizado Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8710629..53f2982 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,10 @@ executable = $(name) source = *.cpp windows: - g++ $(source) -std=c++11 -Wall -Os -lSDL2 -Wl,-subsystem,windows -static-libstdc++ -o $(executable).exe + g++ $(source) -std=c++11 -Wall -lmingw32 -lSDL2main -lSDL2 -mwindows -o $(executable).exe linux: - g++ $(source) -std=c++11 -Wall -Os -lSDL2 -o $(executable).o + g++ $(source) -std=c++11 -Wall -lSDL2 -o $(executable).o macos: - clang++ $(source) -std=c++11 -Wall -Os -lSDL2 -ffunction-sections -fdata-sections -o $(executable).o \ No newline at end of file + clang++ $(source) -std=c++11 -Wall -lSDL2 -ffunction-sections -fdata-sections -o $(executable).o \ No newline at end of file