Files
ShadowMountPlus/Makefile
T
Roman Tarasov 5564b4396d v. 1.5beta5 Improve mount lifecycle recovery and link cleanup
Added stale mount.lnk cleanup logic for /user/app/* entries, including broken links and invalid sources.
Added automatic remount recovery: if a previously mounted image becomes inactive while the image file still exists, retry mounting.
Added optional cleanup of related /system_ex/app/<TITLE_ID> nullfs bind mounts when unmounting an image source.
Added debug log rotation on startup
2026-02-22 12:52:49 +03:00

23 lines
548 B
Makefile

PS5_PAYLOAD_SDK ?= /opt/ps5-payload-sdk
include $(PS5_PAYLOAD_SDK)/toolchain/prospero.mk
# Standard Flags (No extra libraries)
CFLAGS := -O2 -Wall -D_BSD_SOURCE -std=gnu11 -Isrc
# Linker
LDFLAGS :=
# Standard Libraries Only
LIBS := -lkernel_sys -lSceSystemService -lSceUserService -lSceAppInstUtil -lsqlite3
# Targets
all: shadowmountplus.elf
# Build Daemon
shadowmountplus.elf: src/main.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
$(PS5_PAYLOAD_SDK)/bin/prospero-strip --strip-debug $@
clean:
rm -f shadowmountplus.elf kill.elf src/*.o