From b41b9375663d28207f8c2495adc81308dff21b1a Mon Sep 17 00:00:00 2001 From: CometHunter92 <83950018+CometHunter92@users.noreply.github.com> Date: Thu, 12 Dec 2024 01:02:34 +0100 Subject: [PATCH] Update Makefile.libretro --- Makefile.libretro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index 578b10e8f..4ae016ff0 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -26,6 +26,9 @@ AS ?= as CC_AS ?= $(CC) CFLAGS ?= +# Include root directory +CFLAGS += -I$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) + #libretro includes CFLAGS += -I platform/libretro/libretro-common/include CFLAGS += -I platform/libretro/libretro-common/include/compat