mirror of
https://github.com/joel16/CMFileManager-PSP.git
synced 2024-11-23 03:39:42 +00:00
25 lines
557 B
Makefile
25 lines
557 B
Makefile
TARGET = display_driver
|
|
OBJS = display_driver.o exports.o sceDisplay_driver.o
|
|
|
|
PRX_EXPORTS = exports.exp
|
|
|
|
# Use the kernel's small inbuilt libc
|
|
USE_KERNEL_LIBC = 1
|
|
# Use only kernel libraries
|
|
USE_KERNEL_LIBS = 1
|
|
|
|
INCDIR =
|
|
CFLAGS = -Os -G0 -Wall -fno-builtin-printf
|
|
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
|
ASFLAGS = $(CFLAGS)
|
|
|
|
LDFLAGS = -nostartfiles
|
|
|
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
include $(PSPSDK)/lib/build_prx.mak
|
|
|
|
all:
|
|
psp-build-exports -s $(PRX_EXPORTS)
|
|
mv display_driver.S "../app/drivers/"
|
|
mv display_driver.prx "../app/data/"
|