X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=f633665eb87025ac97e3e0e3aea013660daca1c9;hb=7070d5c660963aec56e1d667211b4a09a62d400d;hp=7afced682a283189a398701a0d55cde9a963192d;hpb=6f1edc3c7fd1f7f58155107d0c99d0ac7d22443b;p=pcsx_rearmed.git diff --git a/Makefile b/Makefile index 7afced68..f633665e 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ libpcsxcore/psxbios.o: CFLAGS += -Wno-nonnull # dynarec ifeq "$(DYNAREC)" "lightrec" CFLAGS += -Ideps/lightning/include -Ideps/lightrec \ - -I deps/mman -DLIGHTREC -DLIGHTREC_STATIC + -DLIGHTREC -DLIGHTREC_STATIC OBJS += libpcsxcore/lightrec/plugin.o OBJS += deps/lightning/lib/jit_disasm.o \ deps/lightning/lib/jit_memory.o \ @@ -99,9 +99,11 @@ OBJS += deps/lightning/lib/jit_disasm.o \ deps/lightrec/regcache.o \ deps/lightrec/recompiler.o ifeq ($(MMAP_WIN32),1) +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 \ @@ -109,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 @@ -161,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"