TARGET = cfe_vsh
OBJS = main.o screenshot.o conf.o exports.o

# Use the kernel's small inbuilt libc
USE_KERNEL_LIBC = 1
# Use only kernel libraries
USE_KERNEL_LIBS = 1

INCDIR = 
LDFLAGS = -L../libusbhostfs_driver
CFLAGS = -DNOEXIT -DFPM_MIPS -O2 -G0 -Wall -fno-pic -I../../usbhostfs -I../../usbhostfs_driver
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBDIR =
LIBS = -lpspusbstor -lusbhostfs_driver -lpspusb_driver -lpsppower_driver -lpspkernel -lpsplibc

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build_prx.mak

LIBS += -lpspge_driver
