diff options
author | aliaspider | 2015-04-06 11:27:02 +0100 |
---|---|---|
committer | aliaspider | 2015-04-06 11:27:02 +0100 |
commit | 33add4bad460f2c126955bf80517c549a18e2cdf (patch) | |
tree | 0ea0f82b9e054b5e22d0339dcb022370ca9a1e57 | |
parent | 3309d13f80b94d380cca6b386a6c0dcaeefa5ac7 (diff) | |
download | picogpsp-33add4bad460f2c126955bf80517c549a18e2cdf.tar.gz picogpsp-33add4bad460f2c126955bf80517c549a18e2cdf.tar.bz2 picogpsp-33add4bad460f2c126955bf80517c549a18e2cdf.zip |
add a ctr(3ds) target. no dynarec for now.
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -190,6 +190,22 @@ else ifeq ($(platform), psp1) CFLAGS += -DPSP -G0 STATIC_LINKING = 1 +# 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) + CFLAGS += -DARM11 -D_3DS + CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard + CFLAGS += -Wall -mword-relocations + CFLAGS += -fomit-frame-pointer -ffast-math + CPU_ARCH := arm + #no dynarec support for now + #HAVE_DYNAREC := 1 + #CFLAGS += -DARM_MEMORY_DYNAREC + STATIC_LINKING = 1 + # Xbox 360 else ifeq ($(platform), xenon) TARGET := $(TARGET_NAME)_libretro_xenon360.a |