From 5a0f2e4dfcd2cb15f3b2bab7fb368dab7e51d828 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Fri, 8 Apr 2016 19:52:37 +0200 Subject: [PATCH] Fix Makefile (by including 3ds_rules) --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 2040ddf..bceb09f 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