PSPSDK=$(shell psp-config --pspsdk-path)
PSPDIR=$(shell psp-config --psp-prefix)

TARGET_LIB = ../lib/libbase.a
OBJS = 	base_cpudep.o \
	base_error.o \
	base_hash.o \
	base_matrix.o \
	base_memory.o \
	base_rect.o \
	base_rune.o \
	base_cleanname.o 


CFLAGS += -I../include -I $(PSPDIR)/include

include $(PSPSDK)/lib/build.mak

install: $(TARGET_LIB)
	cp $(TARGET_LIB) $(PSPDIR)/lib
