TARGET = mixer
SRCS = main.cpp sfl.c sflIoObject.c sflMixer.c sflSoundWav.c sflSoundMP3.c sflSound.c
OBJS = $(SRCS:.c=.o)
OBJS := $(OBJS:.cpp=.o)

CFLAGS = -g -G0 -Wall -O2 -fsingle-precision-constant
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
AsflLAGS = $(CFLAGS)

LIBDIR =
LDFLAGS =
LIBS= -lpspaudiocodec -lpspaudio -lm -lstdc++ -lc

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = sound player sample
#PSP_EBOOT_ICON = ICON0.PNG

PSP_FW_VERSION = 500
PSP_LARGE_MEMORY = 1
BUILD_PRX = 1

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

depend:
	$(CC) -MM $(CFLAGS) $(SRCS) > dependfile

include dependfile

