Files
kryon/examples/workout/Makefile
T
waozi 66137545b7 Add a standalone workout scene example
examples/workout is an independent Kryon application: a plain main that
runs one animated VRM figure through the GPU Scene backend, with no
navigation, text or CPU copy in a frame. It pins the Kryon and Ziran
commits that carry the GPU skin palette fix, prints one WORKOUT line per
60 frames with the frame breakdown, and builds its desktop profile from
the lock alone. The Android profile is documented as blocked by the
AndroidProgramMain host bind.
2026-11-25 18:51:43 -03:00

25 lines
673 B
Makefile

# Any VRM 0.x figure. The default is the shared practice figure.
VRM ?= /mnt/storage/Projects/waozixyz/modules/practices/shared/figure/man.vrm
DEVICE ?= ZE2223BQZT
APK := droid/app/build/outputs/apk/debug/app-debug.apk
.PHONY: all desktop android install clean
all: desktop
assets/figure/man.vrm:
@test -f "$(VRM)" || { echo "workout: $(VRM) was not found; set VRM to a VRM 0.x figure" >&2; exit 2; }
mkdir -p assets/figure
cp "$(VRM)" $@
desktop: assets/figure/man.vrm
ziran tool kryon build --profile desktop
android: assets/figure/man.vrm
ziran tool kryon build --profile android
install: android
adb -s $(DEVICE) install -r $(APK)
clean:
rm -r build droid