aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorneonloop2022-08-16 23:47:42 +0000
committerneonloop2022-08-16 23:47:42 +0000
commitbf61547f8ce8967c73c0568c05bfaa3d71c07f53 (patch)
tree1bc122b198865cc3311dee690d9387917fb0a5ee /Makefile.common
parent479872a8d30b092671ed49868748e48830bc36da (diff)
parentce34e879e348cecd4e21329be5974cc4162fa6c4 (diff)
downloadsnes9x2005-performance.tar.gz
snes9x2005-performance.tar.bz2
snes9x2005-performance.zip
Merge branch 'dynarec' into performanceperformance
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 2c015a8..15c4a8e 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -52,6 +52,14 @@ ifeq ($(ARM_ASM),1)
FLAGS += -DARM_ASM
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)