diff --git a/Makefile.common b/Makefile.common index 4eaabdc31d..ad3109b9c9 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1105,6 +1105,20 @@ endif endif endif +ifeq ($(HAVE_METAL), 1) + DEFINES += -DHAVE_METAL + OBJ += gfx/common/metal/Context.o \ + gfx/common/metal/Filter.o \ + gfx/common/metal/RendererCommon.o \ + gfx/common/metal/View.o \ + gfx/common/metal/TexturedView.o \ + gfx/common/metal/MenuDisplay.o \ + gfx/common/metal_common.o \ + gfx/drivers/metal.o \ + menu/drivers_display/menu_display_metal.o \ + gfx/drivers_font/metal_raster_font.o +endif + ifeq ($(HAVE_MPV), 1) OBJ += cores/libretro-mpv/mpv-libretro.o DEFINES += -I$(DEPS_DIR) -DHAVE_MPV