18 lines
447 B
Makefile
18 lines
447 B
Makefile
build-shaders:
|
|
./sokol-shdc -i shaders/src/shader.glsl -o shaders/out/shader.odin -l metal_macos -f sokol_odin
|
|
build: build-shaders
|
|
odin build . -use-single-module
|
|
|
|
build-debug: build-shaders
|
|
odin build . -debug -use-single-module
|
|
|
|
run: build-shaders
|
|
odin run . -use-single-module
|
|
|
|
run-debug: build-shaders
|
|
odin run . -debug -use-single-module
|
|
|
|
check: build-shaders
|
|
odin strip-semicolon .
|
|
odin check .
|
|
odin test . -use-single-module
|