--- a/Makefile.ds Fri Aug 08 08:22:08 2008 +0000
+++ b/Makefile.ds Mon Aug 11 04:39:24 2008 +0000
@@ -2,9 +2,13 @@
#LibSDL 1.3 porting and enhancements by Darren Alton (lifning)
#LibSDL 1.2.9 DS porting by Troy Davis(GPF)
+ifeq ($(strip $(DEVKITPRO)),)
+$(error "Please set DEVKITPRO in your environment (available from http://www.devkitpro.org). export DEVKITPRO=<path to>devkitPro")
+endif
ifeq ($(strip $(DEVKITARM)),)
-$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM)
+DEVKITARM = $(DEVKITPRO)/devkitARM
endif
+PATH := $(PATH):$(DEVKITARM)/bin
CC = arm-eabi-gcc
AR = arm-eabi-ar