From 8a280fa34b5909052b1c34d9c190fb2ea0ac0e79 Mon Sep 17 00:00:00 2001 From: Aurora Date: Wed, 28 Sep 2016 17:01:52 +0200 Subject: [PATCH] Fix build on some environments --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 654a001..6d3613b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,11 @@ rwildcard = $(foreach d, $(wildcard $1*), $(filter $(subst *, %, $2), $d) $(call rwildcard, $d/, $2)) +ifeq ($(strip $(DEVKITARM)),) +$(error "Please set DEVKITARM in your environment. export DEVKITARM=devkitARM") +endif + +include $(DEVKITARM)/3ds_rules + CC := arm-none-eabi-gcc AS := arm-none-eabi-as LD := arm-none-eabi-ld