mirror of
https://github.com/DaedalusX64/daedalus.git
synced 2025-04-02 10:21:48 -04:00
25 lines
565 B
Makefile
25 lines
565 B
Makefile
TARGET = exception
|
|
OBJS = main.o exception_asm.o
|
|
|
|
# Define to build this as a prx (instead of a static elf)
|
|
BUILD_PRX=1
|
|
# Define the name of our custom exports (minus the .exp extension)
|
|
PRX_EXPORTS=exports.exp
|
|
|
|
USE_KERNEL_LIBC = 1
|
|
USE_KERNEL_LIBS = 1
|
|
|
|
INCDIR =
|
|
CFLAGS = -Os -G0 -Wall -nostartfiles
|
|
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
|
ASFLAGS = $(CFLAGS)
|
|
|
|
LIBDIR =
|
|
|
|
PSP_FW_VERSION=500
|
|
|
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
include $(PSPSDK)/lib/build.mak
|
|
|
|
all: $(FINAL_TARGET)
|
|
cp $(FINAL_TARGET) "../../../../DaedalusX64/"
|