Añadidos defines para compilar en raspberry pi
This commit is contained in:
10
Makefile
10
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user