X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=f633665eb87025ac97e3e0e3aea013660daca1c9;hb=f12a6e13ce6e9ea1b9a7d0f48b76633e3c9c0164;hp=d7f734f98275e646b2de0ae3458557718c6cc310;hpb=41ebc18e90652cde98f7b2b823897e9db5f92201;p=pcsx_rearmed.git diff --git a/Makefile b/Makefile index d7f734f9..f633665e 100644 --- a/Makefile +++ b/Makefile @@ -103,6 +103,7 @@ CFLAGS += -Ideps/mman OBJS += deps/mman/mman.o endif else ifeq "$(DYNAREC)" "ari64" +CFLAGS += -DNEW_DYNAREC OBJS += libpcsxcore/new_dynarec/backends/psx/emu_if.o \ libpcsxcore/new_dynarec/new_dynarec.o \ libpcsxcore/new_dynarec/arm/linkage_arm.o \ @@ -110,6 +111,7 @@ OBJS += libpcsxcore/new_dynarec/backends/psx/emu_if.o \ libpcsxcore/new_dynarec/new_dynarec.o: libpcsxcore/new_dynarec/arm/assem_arm.c \ libpcsxcore/new_dynarec/backends/psx/pcsxmem_inline.c else +OBJS += libpcsxcore/new_dynarec/backends/psx/emu_if.o libpcsxcore/new_dynarec/backends/psx/emu_if.o: CFLAGS += -DDRC_DISABLE frontend/libretro.o: CFLAGS += -DDRC_DISABLE endif @@ -162,8 +164,13 @@ endif OBJS += plugins/gpulib/gpu.o plugins/gpulib/vout_pl.o ifeq "$(BUILTIN_GPU)" "neon" CFLAGS += -DGPU_NEON -OBJS += plugins/gpu_neon/psx_gpu_if.o plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o +OBJS += plugins/gpu_neon/psx_gpu_if.o +ifeq "$(HAVE_NEON)" "1" +OBJS += plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o plugins/gpu_neon/psx_gpu_if.o: CFLAGS += -DNEON_BUILD -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP +else +plugins/gpu_neon/psx_gpu_if.o: CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP +endif plugins/gpu_neon/psx_gpu_if.o: plugins/gpu_neon/psx_gpu/*.c endif ifeq "$(BUILTIN_GPU)" "peops"