1 src = $(wildcard src/*.c)
4 vsdr = $(wildcard data/*.vert)
5 fsdr = $(wildcard data/*.frag)
6 spv = $(subst .vert,.vert.spv,$(vsdr)) \
7 $(subst .frag,.frag.spv,$(fsdr))
13 CFLAGS = -pedantic -Wall $(dbg) -MMD
14 LDFLAGS = -lvulkan -lglfw
20 $(CC) -o $@ $(obj) $(LDFLAGS)
23 glslangValidator -V $< -o $@
26 glslangValidator -V $< -o $@
32 rm -f $(obj) $(bin) $(dep) $(spv)