summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2015-11-08 02:44:54 +0100
committertwinaphex2015-11-08 02:44:54 +0100
commitee44145406cbe2c1a77772c02683ed3f578c737d (patch)
tree1ddae5dad067c9d1011f636314709aa4ffdb0f59 /Makefile
parent427472f8d3a4735a9f533b283df884f37731776a (diff)
downloadsnes9x2002-ee44145406cbe2c1a77772c02683ed3f578c737d.tar.gz
snes9x2002-ee44145406cbe2c1a77772c02683ed3f578c737d.tar.bz2
snes9x2002-ee44145406cbe2c1a77772c02683ed3f578c737d.zip
Start adding counterparts to ARM ASM codepaths
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5dd866a..f65cd92 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,8 @@ else ifeq ($(platform), ctr)
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
+ ARM_ASM = 1
+ CFLAGS += -DARM11 -D_3DS
CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard
CFLAGS += -Wall -mword-relocations
CFLAGS += -fomit-frame-pointer -ffast-math
@@ -68,6 +69,10 @@ else
CFLAGS += -D__WIN32__ -D__WIN32_LIBRETRO__
endif
+ifeq ($(ARM_ASM), 1)
+CFLAGS += -DARM_ASM
+endif
+
CORE_DIR := ./src
LIBRETRO_DIR := ./libretro