Problem, with make ant toolchain

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Builder
Posts: 5
Joined: Sun Jun 03, 2007 8:48 pm

Problem, with make ant toolchain

Post by Builder »

Sry for my English i'm German ;)

I have a new problem, i can't compille my source.
I used this makefile

makefile:

Code: Select all

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
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

You forgot to set the environment variables for your shell.

Code: Select all

export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PSPPATH="$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
export PATH="$PATH:$PSPPATH"
Builder
Posts: 5
Joined: Sun Jun 03, 2007 8:48 pm

Post by Builder »

Thanks, now it Works :)
Post Reply