From ce34e879e348cecd4e21329be5974cc4162fa6c4 Mon Sep 17 00:00:00 2001 From: neonloop Date: Wed, 9 Feb 2022 07:15:14 +0000 Subject: Adds experimental ARM dynarec Supports ARMv5 and higher, enable with USE_DYNAREC Makefile variable --- Makefile.common | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile.common') 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) -- cgit v1.2.3