Files
lean-sdl3/justfile
T
2026-01-06 13:05:54 -08:00

21 lines
584 B
Makefile

_default:
@just --list
[doc: "Build the sdl3 test app"]
build:
lake build test-app
patchelf --set-interpreter /usr/lib/ld-linux-x86-64.so.2 .lake/build/bin/test-app
patchelf --set-rpath '$ORIGIN:/usr/lib' .lake/build/bin/test-app
[doc: "Run the sdl3 test app"]
run: build
.lake/build/bin/test-app
[doc: "Build and run the webcam demo"]
webcam:
lake build webcam-app
patchelf --set-interpreter /usr/lib/ld-linux-x86-64.so.2 .lake/build/bin/webcam-app
patchelf --set-rpath '$ORIGIN:/usr/lib' .lake/build/bin/webcam-app
.lake/build/bin/webcam-app