mirror of
https://github.com/joel16/CMFileManager-PSP.git
synced 2024-11-27 05:30:26 +00:00
27 lines
552 B
Makefile
27 lines
552 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/"
|