-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (21 loc) · 1.1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
TARGET = eReader
SRCS = avc.c bg.c bookmark.c charsets.c conf.c copy.c ctrl.c display.c fat.c \
fs.c html.c image.c location.c lyric.c main.c mp3.c mp3info.c power.c \
scene.c text.c ttfont.c usb.c win.c \
./common/log.c ./common/qsort.c ./common/utils.c ./common/psp_utils.c
OBJS = $(SRCS:.c=.o)
INCDIR = $(PSPSDK)/../include ./include ./include/freetype2
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-rtti
LIBS = ./lib/unrar.a ./lib/unzip.a ./lib/libchm.a ./lib/libpng.a \
./lib/libgif.a ./lib/libjpeg.a ./lib/libbmp.a ./lib/libtga.a \
./lib/libmad.a ./lib/libz.a ./lib/libfreetype.a ./lib/libwmadec.a \
./lib/pmpmodavc/pmpmodavclib.a ./lib/pmpmodavc/libavformat.a ./lib/pmpmodavc/libavcodec.a ./lib/pmpmodavc/libavutil.a ./lib/pmpmodavc/libpspmpeg.a ./lib/pmpmodavc/pmpmodavclib.a \
-lm -lpspaudio -lpspaudiolib -lpspgu -lpspgum -lpsphprm -lpsppower -lpsprtc \
-lpspusb -lpspusbstor -lstdc++
EXTRA_TARGETS = EBOOT.PBP
EXTRA_CLEAN = -r __SCE__eReader %__SCE__eReader eReader eReader% eReader.prx
PSP_EBOOT_TITLE = eReader
PSP_EBOOT_ICON = ICON0.png
PSPSDK=$(shell psp-config --pspsdk-path)
include config.mak