Mercurial > sdl-ios-xcode
diff Makefile.ds @ 2684:a4f143d187dd gsoc2008_nds
Improved devkitPrO message in Makefile.ds and set better environment variable defaults
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 11 Aug 2008 04:39:24 +0000 |
parents | 4135aa9c5645 |
children | 0b395a60deff |
line wrap: on
line diff
--- 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