12 lines
149 B
Makefile
12 lines
149 B
Makefile
FILES=$(wildcard ./*.glsl)
|
|
|
|
SPIRV=$(FILES:%.glsl=%.spirv)
|
|
|
|
debug: $(SPIRV)
|
|
|
|
%.spirv:%.glsl
|
|
glslangValidator -g -V $^ -o $@
|
|
|
|
clean:
|
|
rm -f ./*.spirv
|