mirror of
https://github.com/DaedalusX64/daedalus.git
synced 2025-04-02 10:21:48 -04:00
31 lines
759 B
Makefile
31 lines
759 B
Makefile
TARGET = dvemgr
|
|
OBJS = main.o exports.o
|
|
|
|
CFLAGS = -Os -G0 -Wall -fshort-wchar -fno-pic -mno-check-zero-division
|
|
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
|
ASFLAGS = $(CFLAGS)
|
|
|
|
PSP_FW_VERSION=500
|
|
BUILD_PRX = 1
|
|
PRX_EXPORTS = exports.exp
|
|
|
|
USE_KERNEL_LIBC = 1
|
|
USE_KERNEL_LIBS = 1
|
|
|
|
LDFLAGS = -nostartfiles
|
|
LIBS = -lpspdve_driver -lpsphprm_driver -lpspimpose_driver
|
|
|
|
|
|
|
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
include $(PSPSDK)/lib/build.mak
|
|
|
|
EXTRA_TARGETS = pspDveManager.S pspDveManager_driver.S
|
|
|
|
pspDveManager.S : $(PRX_EXPORTS)
|
|
psp-build-exports --build-stubs $(PRX_EXPORTS)
|
|
|
|
pspDveManager_driver.S : $(PRX_EXPORTS)
|
|
psp-build-exports --build-stubs $(PRX_EXPORTS)
|
|
|
|
all: $(FINAL_TARGET) pspDveManager.S pspDveManager_driver.S
|