From ba7c44ad06e791f5575d38368762cf37faad93a9 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Sun, 13 Oct 2024 14:24:15 +0200 Subject: [PATCH] Actualitzat Makefile --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b8ae688..adb4715 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,8 @@ INCLUDES:= -I$(DIR_SOURCES) ifeq ($(OS),Windows_NT) FixPath = $(subst /,\,$1) SOURCES := source/*.cpp - CXXFLAGS:= -std=c++14 -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -static-libstdc++ -Wl,-subsystem,windows - CXXFLAGS_DEBUG:= -std=c++14 -Wall -g + CXXFLAGS:= -std=c++20 -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -static-libstdc++ -Wl,-subsystem,windows + CXXFLAGS_DEBUG:= -std=c++20 -Wall -g LDFLAGS := -lmingw32 -lws2_32 -lSDL2main -lSDL2 -lopengl32 RM = del /Q MKD:= mkdir @@ -34,8 +34,8 @@ else FixPath = $1 SOURCES := $(shell find $(DIR_SOURCES) -name '*.cpp') SOURCES := source/*.cpp - CXXFLAGS:= -std=c++14 -Wall -Os -ffunction-sections -fdata-sections - CXXFLAGS_DEBUG:= -std=c++14 -Wall -g + CXXFLAGS:= -std=c++20 -Wall -Os -ffunction-sections -fdata-sections + CXXFLAGS_DEBUG:= -std=c++20 -Wall -g LDFLAGS := -lSDL2 RM = rm -f MKD:= mkdir -p