Files
rijads e2d9a82684 README, third-party notices, screenshots from the console, version 1.0.0
make release writes dist/PPSA99728.zip and its .sha256; the package carries THIRD_PARTY_NOTICES.md and liblzma's licence. contentVersion 01.000.000.
2026-10-06 14:33:04 +02:00

38 lines
1.1 KiB
Makefile

# Runs inside the build image (docker/Dockerfile); see DEVELOPMENT.md.
NATIVE_TOOL := .deps/native-app/build/host/ps5-native-tool
SDK := .deps/native-app/.deps/native/ps5-payload-sdk
.PHONY: package release ps5 deps runtime host launcher
package: ps5 launcher
bash tools/package.sh
# dist/PPSA99728.zip, the title folder at its top, and its .sha256, for a GitHub release.
release: package
rm -f dist/PPSA99728.zip dist/PPSA99728.zip.sha256
cd dist && python3 -m zipfile -c PPSA99728.zip PPSA99728 && sha256sum PPSA99728.zip > PPSA99728.zip.sha256
ps5: deps OpenRCT2/CMakeLists.txt
bash tools/build-ps5.sh
deps: runtime
bash tools/build-deps.sh
runtime: $(NATIVE_TOOL)
bash tools/build-runtime.sh
host: OpenRCT2/CMakeLists.txt
bash tools/build-host.sh
launcher: build/launcher/rct2launch.elf
build/launcher/rct2launch.elf: tools/launcher/launch.c $(NATIVE_TOOL)
@mkdir -p $(dir $@)
$(SDK)/bin/prospero-clang -O2 -Wall -o $@ $< -lSceSystemService -lSceUserService
$(NATIVE_TOOL):
bash tools/fetch-native-tools.sh
OpenRCT2/CMakeLists.txt:
bash tools/fetch-openrct2.sh