TARGET = cfe_game
OBJS = main.o screenshot.o conf.o translateButtons.o blit.o scr_printf.o \
	sceUSB_Driver.o scePower_driver.o sceCtrl_driver.o sceDisplay_driver.o sceUsbstorBoot.o

BUILD_PRX=1
USE_KERNEL_LIBC=1
USE_KERNEL_LIBS=1

INCDIR = ../include
CFLAGS = -Os -G0 -Wall -fno-strict-aliasing -fno-builtin-printf -D_PSPSLIM
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBDIR = ../lib
LDFLAGS = -mno-crt0 -nostartfiles
LIBS = -lpspsysmem_kernel -lpspsystemctrl_kernel -lpspkubridge

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