X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=1d70f6435847bb07feee9a195d75a53b369607b2;hb=7a8117168d6b9ad083757e013049c0e45734f3fb;hp=a01c4df3a3d3d5a076fa0a3d6994ddb734848f8e;hpb=4e7fce5a04030c83b49e3b9d3a9098915853316f;p=pcsx_rearmed.git diff --git a/Makefile b/Makefile index a01c4df3..1d70f643 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,9 @@ CXXFLAGS += $(CFLAGS) #DRC_DBG = 1 #PCNT = 1 +# Suppress minor warnings for dependencies +deps/%: CFLAGS += -Wno-unused -Wno-unused-function + all: config.mak target_ plugins_ ifndef NO_CONFIG_MAK @@ -309,6 +312,9 @@ OBJS += libretro-common/time/rtime.o OBJS += libretro-common/vfs/vfs_implementation.o CFLAGS += -DUSE_LIBRETRO_VFS endif +ifeq "$(ENABLE_ICACHE_EMULATION)" "1" +CFLAGS += -DICACHE_EMULATION +endif OBJS += frontend/libretro.o CFLAGS += -Ilibretro-common/include CFLAGS += -DFRONTEND_SUPPORTS_RGB565