Actualitzat Makefile
This commit is contained in:
4
Makefile
4
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
|
||||
|
||||
Reference in New Issue
Block a user