diff options
author | Sam Lantinga <slouken@libsdl.org> | 2008-08-11 04:39:24 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2008-08-11 04:39:24 +0000 |
commit | 28bbbbd092912c11d9a6b49732e738d56b463737 (patch) | |
tree | 8e4dac083c0fe9d00e91343efb06200d18c8345f | |
parent | c11b746664af36816fb086cb980d2dca402fadf6 (diff) | |
download | sdl-28bbbbd092912c11d9a6b49732e738d56b463737.tar.gz |
Improved devkitPrO message in Makefile.ds and set better environment variable defaults
-rw-r--r-- | Makefile.ds | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.ds b/Makefile.ds index 2ba19b55e..39d5734e0 100644 --- a/Makefile.ds +++ b/Makefile.ds @@ -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 |