# HG changeset patch # User Sam Lantinga # Date 1218429564 0 # Node ID a4f143d187dd7a4ec85eff2363db82c80b09b511 # Parent e858ac8868b6b92a79ecab58af31af2ab0e40b61 Improved devkitPrO message in Makefile.ds and set better environment variable defaults diff -r e858ac8868b6 -r a4f143d187dd Makefile.ds --- 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=devkitPro") +endif ifeq ($(strip $(DEVKITARM)),) -$(error "Please set DEVKITARM in your environment. export DEVKITARM=devkitARM) +DEVKITARM = $(DEVKITPRO)/devkitARM endif +PATH := $(PATH):$(DEVKITARM)/bin CC = arm-eabi-gcc AR = arm-eabi-ar