aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorneonloop2022-02-09 07:15:14 +0000
committerneonloop2022-02-09 07:15:14 +0000
commitce34e879e348cecd4e21329be5974cc4162fa6c4 (patch)
tree6bc241b726fc554a31d778642f45a2d1ea2309b4 /Makefile.common
parent874c431fdaff24413886416ed3ffa3455681ac01 (diff)
downloadsnes9x2005-dynarec.tar.gz
snes9x2005-dynarec.tar.bz2
snes9x2005-dynarec.zip
Adds experimental ARM dynarecdynarec
Supports ARMv5 and higher, enable with USE_DYNAREC Makefile variable
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index eace189..80575db 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -48,6 +48,14 @@ else
$(CORE_DIR)/spc700.c
endif
+ifeq ($(USE_DYNAREC),1)
+SOURCES_C += \
+ $(CORE_DIR)/arm_dynarec/dynaexec.c \
+ $(CORE_DIR)/arm_dynarec/map_rwx.c \
+ $(CORE_DIR)/arm_dynarec/armfn.S
+FLAGS += -DUSE_DYNAREC
+endif
+
ifeq ($(LOAD_FROM_MEMORY),1)
FLAGS += -DLOAD_FROM_MEMORY
else ifneq ($(STATIC_LINKING), 1)