From 9d7e97595284a5937a47e2ad5e40ac3f81df9b2b Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Fri, 27 Sep 2024 17:56:45 +0200 Subject: [PATCH] Actualitzat Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4945c88..42ac6c9 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ INCLUDES:= -I$(DIR_SOURCES) # Variables segĂșn el sistema operativo ifeq ($(OS),Windows_NT) FixPath = $(subst /,\,$1) - SOURCES := source/*.cpp source/common/*.cpp + SOURCES := source/*.cpp CXXFLAGS:= -std=c++11 -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -static-libstdc++ -Wl,-subsystem,windows CXXFLAGS_DEBUG:= -std=c++11 -Wall LDFLAGS := -lmingw32 -lws2_32 -lSDL2main -lSDL2 -lopengl32 @@ -33,7 +33,7 @@ ifeq ($(OS),Windows_NT) else FixPath = $1 SOURCES := $(shell find $(DIR_SOURCES) -name '*.cpp') - SOURCES := source/*.cpp source/common/*.cpp + SOURCES := source/*.cpp CXXFLAGS:= -std=c++11 -Wall -Os -ffunction-sections -fdata-sections CXXFLAGS_DEBUG:= -std=c++11 -Wall LDFLAGS := -lSDL2