From da0aa04f2d243320ca8e95d91dc240ba4b9d7da0 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Thu, 22 Aug 2024 20:50:01 +0200 Subject: [PATCH] Actualizado Makefile --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fd037cc..a459fdc 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,11 @@ source := source/*.cpp -executable_name := pelota +executable_name := demo_pelotas1 windows: - g++ $(source) -lmingw32 -lws2_32 -lSDL2main -lSDL2 -lSDL2_image -o $(executable_name).exe \ No newline at end of file + g++ $(source) -std=c++11 -Wall -lmingw32 -lws2_32 -lSDL2main -lSDL2 -o $(executable_name).exe + +linux: + g++ $(source) -std=c++11 -Wall -lSDL2 -o $(executable_name) + +macos: + g++ $(source) -std=c++11 -Wall -lSDL2 -o $(executable_name) \ No newline at end of file