Fix Makefile (by including 3ds_rules)

This commit is contained in:
TuxSH 2016-04-08 19:52:37 +02:00
parent 6d06ea6975
commit 5a0f2e4dfc

View File

@ -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=<path to>devkitARM")
endif
include $(DEVKITARM)/3ds_rules
CC := arm-none-eabi-gcc
AS := arm-none-eabi-as
LD := arm-none-eabi-ld