| View previous topic :: View next topic |
| Author |
Message |
Builder
Joined: 03 Jun 2007 Posts: 5
|
Posted: Mon Jun 04, 2007 5:45 am Post subject: Problem, with make ant toolchain |
|
|
Sry for my English i'm German ;)
I have a new problem, i can't compille my source.
I used this makefile
makefile:
| Code: |
TARGET = hello
OBJS = main.o
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Hello World
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
|
And I get this Error:
make: psp-config: Kommando nicht gefunden
makefile:12: /lib/build.mak: No such file or directory
make: *** Keine Regel, um »/lib/build.mak« zu erstellen. Schluss.
What must i chanche in the makefile ??
THX
Builder |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Jun 04, 2007 6:27 am Post subject: |
|
|
You forgot to set the environment variables for your shell.
| Code: | export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PSPPATH="$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
export PATH="$PATH:$PSPPATH" |
|
|
| Back to top |
|
 |
Builder
Joined: 03 Jun 2007 Posts: 5
|
Posted: Mon Jun 04, 2007 7:06 pm Post subject: |
|
|
| Thanks, now it Works :) |
|
| Back to top |
|
 |
|