mirror of
https://github.com/libretro/smsplus-gx.git
synced 2024-12-02 14:57:19 +00:00
Add target 3DS
This commit is contained in:
parent
8ed8ebddb9
commit
f1c800c8dc
@ -232,6 +232,21 @@ else ifeq ($(platform), vita)
|
||||
STATIC_LINKING = 1
|
||||
EXTRA_INCLUDES := -I"$(VITASDK)/arm-vita-eabi/include"
|
||||
|
||||
# CTR(3DS)
|
||||
else ifeq ($(platform), ctr)
|
||||
TARGET := $(TARGET_NAME)_libretro_ctr.a
|
||||
CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT)
|
||||
CXX = $(DEVKITARM)/bin/arm-none-eabi-g++$(EXE_EXT)
|
||||
AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT)
|
||||
ENDIANNESS_DEFINES := -DLSB_FIRST -DALIGN_LONG -DBYTE_ORDER=LITTLE_ENDIAN -DUSE_DYNAMIC_ALLOC
|
||||
CFLAGS += -DARM11 -D_3DS -DNO_OS -DNO_DYLIB -DNO_SOCKET
|
||||
CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard -marm -mfpu=vfp -mtp=soft
|
||||
CFLAGS += -Wall -mword-relocations
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
CFLAGS += -Ifrontend/3ds
|
||||
CFLAGS += -Werror=implicit-function-declaration
|
||||
STATIC_LINKING = 1
|
||||
|
||||
# Xbox 360
|
||||
else ifeq ($(platform), xenon)
|
||||
TARGET := $(TARGET_NAME)_libretro_xenon360.a
|
||||
|
Loading…
Reference in New Issue
Block a user