actualitzat Makefile

This commit is contained in:
2024-08-14 19:12:44 +02:00
parent e48dbb2d4e
commit 35749f7c1b

View File

@@ -33,6 +33,7 @@ ifeq ($(OS),Windows_NT)
else else
FixPath = $1 FixPath = $1
SOURCES := $(shell find $(DIR_SOURCES) -name '*.cpp') SOURCES := $(shell find $(DIR_SOURCES) -name '*.cpp')
SOURCES := source/*.cpp source/common/*.cpp
CXXFLAGS:= -std=c++11 -Wall -Os -ffunction-sections -fdata-sections CXXFLAGS:= -std=c++11 -Wall -Os -ffunction-sections -fdata-sections
CXXFLAGS_DEBUG:= -std=c++11 -Wall CXXFLAGS_DEBUG:= -std=c++11 -Wall
LDFLAGS := -lSDL2 LDFLAGS := -lSDL2