Añadidos defines para compilar en raspberry pi

This commit is contained in:
2024-07-01 09:11:13 +02:00
parent 59671d6e55
commit b05e1c6025
3 changed files with 28 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ else
FixPath = $1
SOURCES := $(shell find $(DIR_SOURCES) -name '*.cpp')
CXXFLAGS:= -std=c++11 -Wall -Os -ffunction-sections -fdata-sections -Wno-deprecated
LDFLAGS := -lSDL2
LDFLAGS := -lSDL2
RM = rm -f
MKD:= mkdir -p
UNAME_S := $(shell uname -s)
@@ -116,11 +116,9 @@ print-variables:
@echo RM: $(RM)
.PHONY: peiv
peiv:
if not exist peiv mkdir $(subst /,\,peiv)
if exist peiv rmdir /Q /S peiv
raspi:
$(CXX) $(SOURCES) -D RASPI $(CXXFLAGS) lSDL2 -o "$(TARGET_FILE)
strip -s -R .comment -R .gnu.version "$(TARGET_FILE)_debug" --strip-unneeded
windows:
@echo off