mirror of
https://github.com/lowbit/ps5-openrct2.git
synced 2026-10-17 19:01:00 +02:00
make release writes dist/PPSA99728.zip and its .sha256; the package carries THIRD_PARTY_NOTICES.md and liblzma's licence. contentVersion 01.000.000.
38 lines
1.1 KiB
Makefile
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
|