From b3931bbb2dc746db228a475dd22a10cb1ce925a8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 30 Sep 2018 18:02:11 +0200 Subject: [PATCH] Add ctr target --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 2697254..16a4ffe 100644 --- a/Makefile +++ b/Makefile @@ -176,6 +176,19 @@ else ifeq ($(platform), psp1) HAVE_COMPAT = 1 EXTRA_INCLUDES := -I$(shell psp-config --pspsdk-path)/include +# CTR (3DS) +else ifeq ($(platform), ctr) + EXT=a + TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT) + CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(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 + CFLAGS += -D_3DS + STATIC_LINKING=1 + # Vita else ifeq ($(platform), vita) EXT=a