make: psp-config: Command not found
Makefile:9: /lib/build.mak: No such file or directory
make: *** No rule to make target '/lib/build.mak'. Stop.
However, typing "psp-config" does work and is recognized as a command.
My paths at the end of .bashrc are as follows:
Code: Select all
export PSPDEV=/usr/local/pspdev
export PSPSDK="$PSPDEV/psp/sdk"
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"
Code: Select all
PSPSDK=$(shell psp-config --pspsdk-path)
PSPDIR=$(shell psp-config --psp-prefix)
TARGET_LIB = libz.a
OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
zutil.o inflate.o infback.o inftrees.o inffast.o
CFLAGS = -O2 -G0
include $(PSPSDK)/lib/build.mak
install: $(TARGET_LIB)
@echo "Installing libz into $(PSPDIR)"
@mkdir -p $(PSPDIR)/include $(PSPDIR)/lib
@cp zlib.h zconf.h $(PSPDIR)/include
@cp libz.a $(PSPDIR)/lib
@echo "Done"
Thanks for any help!