mirror of
https://github.com/fstat13/PSCapture.git
synced 2026-10-17 08:01:21 +02:00
- docs/REVERSE_ENGINEERING.md: library extraction, scan-out ring, pan, chroma plane (V-first words), kernel-side notes, PLD delivery, timeline - tools/: dumplib payload + sprx/xref hunters + frame renderers (own code only)
29 lines
596 B
Makefile
29 lines
596 B
Makefile
# Modellato sul sample hello_world dell'SDK.
|
|
# PS5_PORT 9021 = elfldr: e' la porta aperta sulla console.
|
|
|
|
PS5_HOST ?= 192.168.0.36
|
|
PS5_PORT ?= 9021
|
|
|
|
ifdef PS5_PAYLOAD_SDK
|
|
include $(PS5_PAYLOAD_SDK)/toolchain/prospero.mk
|
|
else
|
|
$(error PS5_PAYLOAD_SDK is undefined — compila dentro il container ps5sdk)
|
|
endif
|
|
|
|
ELF := dumplib.elf
|
|
CFLAGS := -Wall -Werror -g -O2
|
|
|
|
all: $(ELF)
|
|
|
|
$(ELF): main.c
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
clean:
|
|
rm -f $(ELF)
|
|
|
|
# Spedisce il payload a elfldr sulla console; gira subito.
|
|
deploy: $(ELF)
|
|
$(PS5_DEPLOY) -h $(PS5_HOST) -p $(PS5_PORT) $^
|
|
|
|
.PHONY: all clean deploy
|