#
# sample makfile to build homebrew FW2.xx & devhook0.44.0100+
# with devkitPSP rel.7
#

TARGET = homebrew2xx
OBJS = main.o 

#FW2.00 needs relocate information.
BUILD_PRX=1
PRX_EXPORTS=exports.exp

INCDIR = 
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

#LIBDIR = ../lib ../libj
LIBDIR = ../lib
LIBS = -ldevhooku
LDFLAGS =

EXTRA_TARGETS = EBOOT.PBP
#SFO of mksfo.exe doesn't work.
#so direct edit the collected SFO file.
#PSP_EBOOT_TITLE = Do Not build with mksfo.exe

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

#build (relocatable)prx and pack to single PBP
#include $(PSPSDK)/lib/build.mak
include build.mak

