X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=3f4b87df9f7ca0fe1a2eb9c82a182ed95ce83430;hp=f8d1dc17dc8cac1342c13033aab8c343293e8aba;hb=be516ebe45e48044b599e9d9f9f2d296c3f3ee62;hpb=8062d65a99a541d3092672655e11cb2babfe3857 diff --git a/Makefile b/Makefile index f8d1dc17..3f4b87df 100644 --- a/Makefile +++ b/Makefile @@ -56,8 +56,15 @@ libpcsxcore/psxbios.o: CFLAGS += -Wno-nonnull # dynarec ifeq "$(USE_DYNAREC)" "1" -OBJS += libpcsxcore/new_dynarec/new_dynarec.o libpcsxcore/new_dynarec/linkage_arm.o +OBJS += libpcsxcore/new_dynarec/new_dynarec.o OBJS += libpcsxcore/new_dynarec/pcsxmem.o + ifeq "$(ARCH)" "arm" + OBJS += libpcsxcore/new_dynarec/linkage_arm.o + else ifeq "$(ARCH)" "aarch64" + OBJS += libpcsxcore/new_dynarec/linkage_arm64.o + else + $(error no dynarec support for architecture $(ARCH)) + endif else CFLAGS += -DDRC_DISABLE endif