mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-13 03:39:51 +00:00
31 lines
617 B
Makefile
31 lines
617 B
Makefile
TARGET = kernel_functions
|
|
OBJS = main.o
|
|
PSP_FW_VERSION = 150
|
|
|
|
INCDIR =
|
|
CFLAGS = -O2 -G0 -Wall
|
|
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
|
ASFLAGS = $(CFLAGS)
|
|
|
|
BUILD_PRX = 1
|
|
PRX_EXPORTS = $(TARGET).exp
|
|
|
|
USE_KERNEL_LIBC=1
|
|
USE_KERNEL_LIBS=1
|
|
|
|
LIBDIR =
|
|
LDFLAGS = -mno-crt0 -nostartfiles
|
|
LIBS = -lpspdebug -lpspge -lpspsdk -lc -lpspuser
|
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
include $(PSPSDK)/lib/build.mak
|
|
|
|
all:
|
|
psp-build-exports -s $(PRX_EXPORTS)
|
|
cp $(TARGET).prx ../../../$(TARGET).prx
|
|
cp $(TARGET).S ../$(TARGET).S
|
|
cp $(TARGET).h ../$(TARGET).h
|
|
rm -f $(TARGET).prx
|
|
rm -f $(TARGET).S
|
|
rm -f *.o
|
|
rm -f *.elf
|