2021-05-27 06:26:39 +00:00
|
|
|
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/"
|
2022-05-31 14:57:03 +00:00
|
|
|
mv display_driver.prx "../app/data/"
|