Files
fstat13--PSCapture/tools/dumplib/Makefile
T
fstat13 2a58cbcb43 docs: full reverse-engineering writeup + RE toolbench
- 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)
2026-10-15 14:49:47 +02:00

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