So i have been following the tutorial for programign on the psp, the next step said type "make" in cygwin, and well this happend:
Code: Select all
Tom@toms ~/projects/helloworld
$ make
make: psp-config: Command not found
makefile:12: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'. Stop.
Here is my 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
C:\cygwin\usr\local\pspdev\psp\sdk\lib\build.mak
So because i am a n00b i copied over the files from
C:\cygwin\usr\local\pspdev\psp\sdk\lib\build.mak to /lib/.
I then got this error:
Code: Select all
Tom@toms ~/projects/helloworld
$ make
make: psp-config: Command not found
make: psp-config: Command not found
/lib/build.mak:15: *** $(PSPSDK) is undefined. Use "PSPSDK := $(shell psp-confi
g --pspsdk-path)" in your Makefile. Stop.
I then changed the makefile so that the last line said
Code: Select all
include $(PSPSDK)/usr/local/pspdev/psp/sdk/lib/build.mak
Code: Select all
Tom@toms ~/projects/helloworld
$ make
make: psp-config: Command not found
make: psp-config: Command not found
/usr/local/pspdev/psp/sdk/lib/build.mak:15: *** $(PSPSDK) is undefined. Use "PS
PSDK := $(shell psp-config --pspsdk-path)" in your Makefile. Stop.
Thanks