From bde9bdf09de1300fd9a757c85c618084ff68e942 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 7 Nov 2024 23:40:32 +0200 Subject: [PATCH] 3ds: allow compiling with just DEVKITPRO set --- Makefile.libretro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index 6bacb3f4..21cbd282 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -66,6 +66,10 @@ else ifeq ($(platform), vita) LD = arm-vita-eabi-ld$(EXE_EXT) OBJCOPY = arm-vita-eabi-objcopy$(EXE_EXT) else ifeq ($(platform), ctr) + ifneq ($(strip $(DEVKITPRO)),) + DEVKITARM ?= $(DEVKITPRO)/devkitARM + CTRULIB ?= $(DEVKITPRO)/libctru + endif ifeq ($(strip $(DEVKITARM)),) $(error "DEVKITARM env var is not set") endif -- 2.39.5