From 248a391be65f294a2bed8f3fceb6ea30ea702f9b Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Wed, 21 Aug 2024 17:52:27 +0200 Subject: [PATCH] actualizado makefile --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0ef5e85..348d549 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,11 @@ source := source/*.cpp -executable_name := pelota +executable_name := demo_pelota2 windows: - g++ $(source) -lmingw32 -lws2_32 -lSDL2main -lSDL2 -o $(executable_name).exe \ No newline at end of file + g++ $(source) -Wall -lmingw32 -lws2_32 -lSDL2main -lSDL2 -o $(executable_name).exe + +linux: + g++ $(source) -Wall -lSDL2 -o $(executable_name) + +macos: + g++ $(source) -Wall -lSDL2 -o $(executable_name) \ No newline at end of file