mirror of
https://github.com/drakmor/ShadowMountPlus.git
synced 2026-10-21 22:22:28 -05:00
22 lines
507 B
Makefile
22 lines
507 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)
|
|
|
|
clean:
|
|
rm -f shadowmountplus.elf kill.elf src/*.o
|