mirror of
https://github.com/joel16/CMFileManager-PSP.git
synced 2024-11-26 21:20:24 +00:00
28 lines
585 B
Makefile
28 lines
585 B
Makefile
TARGET = fs_driver
|
|
OBJS = fs_driver.o exports.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 = ../libs/include
|
|
CFLAGS = -Os -G0 -Wall -fno-builtin-printf
|
|
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
|
ASFLAGS = $(CFLAGS)
|
|
|
|
LIBDIR = ../libs/lib
|
|
|
|
LDFLAGS = -nostartfiles
|
|
LIBS = -lpspsystemctrl_kernel
|
|
|
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
include $(PSPSDK)/lib/build_prx.mak
|
|
|
|
all:
|
|
psp-build-exports -s $(PRX_EXPORTS)
|
|
mv fs_driver.S "../app/drivers/"
|
|
mv fs_driver.prx "../app/data/"
|