TARGET = bakon
OBJS = main.o includes/address.o includes/crt0_prx.o includes/crt1_prx.o includes/gfx.o includes/xtra/snprintf.o includes/xtra/pspdebugkb.o includes/asm.o includes/config.o

# Define to build this as a prx (instead of a static elf)
BUILD_PRX=1
PSP_FW_VERSION = 300

USE_KERNEL_LIBS = 1
USE_KERNEL_LIBC = 1

INCDIR =
CFLAGS = -O2 -G0 -w -msingle-float -g
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBDIR =
LIBS =  -lpsputility -lpspdebugkb -lpspdebug -lm -lpspge_driver
#-lpspdisplay

LDFLAGS = -nostdlib  -nodefaultlibs -g

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