Add associated make commands for added examples
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
.PHONY: shaders-vulkan shaders-d3d12 shaders-metal shaders-all bake toad check test help
|
.PHONY: shaders-vulkan shaders-d3d12 shaders-metal shaders-all bake toad hello_sprite crowd camera_sandbox clips check test help
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Targets:"
|
@echo "Targets:"
|
||||||
@@ -8,8 +8,12 @@ help:
|
|||||||
@echo " shaders-metal Compile MSL into shaders/metal/ (needs shadercross)"
|
@echo " shaders-metal Compile MSL into shaders/metal/ (needs shadercross)"
|
||||||
@echo " shaders-all Build all shader backends"
|
@echo " shaders-all Build all shader backends"
|
||||||
@echo " test Run engine unit tests"
|
@echo " test Run engine unit tests"
|
||||||
@echo " check Typecheck examples/toad"
|
@echo " check Typecheck all examples"
|
||||||
@echo " toad Run the toad example"
|
@echo " toad Run the toad example (full demo)"
|
||||||
|
@echo " hello_sprite Minimal load + draw"
|
||||||
|
@echo " crowd Many sprites, one Character_Data"
|
||||||
|
@echo " camera_sandbox Pan camera / Space toggles follow"
|
||||||
|
@echo " clips Keys 1/2 switch idle/walk"
|
||||||
|
|
||||||
bake:
|
bake:
|
||||||
./scripts/bake_all.sh
|
./scripts/bake_all.sh
|
||||||
@@ -30,6 +34,22 @@ test:
|
|||||||
|
|
||||||
check:
|
check:
|
||||||
odin check examples/toad -collection:pkg=.
|
odin check examples/toad -collection:pkg=.
|
||||||
|
odin check examples/hello_sprite -collection:pkg=.
|
||||||
|
odin check examples/crowd -collection:pkg=.
|
||||||
|
odin check examples/camera_sandbox -collection:pkg=.
|
||||||
|
odin check examples/clips -collection:pkg=.
|
||||||
|
|
||||||
toad:
|
toad:
|
||||||
odin run examples/toad -collection:pkg=.
|
odin run examples/toad -collection:pkg=.
|
||||||
|
|
||||||
|
hello_sprite:
|
||||||
|
odin run examples/hello_sprite -collection:pkg=.
|
||||||
|
|
||||||
|
crowd:
|
||||||
|
odin run examples/crowd -collection:pkg=.
|
||||||
|
|
||||||
|
camera_sandbox:
|
||||||
|
odin run examples/camera_sandbox -collection:pkg=.
|
||||||
|
|
||||||
|
clips:
|
||||||
|
odin run examples/clips -collection:pkg=.
|
||||||
|
|||||||
Reference in New Issue
Block a user