From 531a6d1f907aa2707adeb6a3080ba1e5c58f762b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Valor=20Mart=C3=ADnez?= Date: Wed, 21 Aug 2024 18:51:40 +0200 Subject: [PATCH] Actualizado Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f9b84b6..ee06b9b 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,10 @@ source := source/*.cpp executable_name := demo_pelotas2 windows: - g++ $(source) -Wall -lmingw32 -lws2_32 -lSDL2main -lSDL2 -o $(executable_name).exe + g++ $(source) -std=c++11 -Wall -lmingw32 -lws2_32 -lSDL2main -lSDL2 -o $(executable_name).exe linux: - g++ $(source) -Wall -lSDL2 -o $(executable_name) + g++ $(source) -std=c++11 -Wall -lSDL2 -o $(executable_name) macos: - g++ $(source) -Wall -lSDL2 -o $(executable_name) \ No newline at end of file + g++ $(source) -std=c++11 -Wall -lSDL2 -o $(executable_name) \ No newline at end of file