diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,6 +4,9 @@ LDFLAGS += -lGLEW CFLAGS += -g +GLFLAGS += --target-env=opengl +GLFLAGS += -fauto-map-locations + .PHONY: FORCE .SECONDARY: # do not remove intermediate files @@ -23,9 +26,9 @@ main.o: visuals_frag.h ./blob $< $* %_frag.spv: %.frag - glslc -o $@ $< + glslc $(GLFLAGS) -o $@ $< %_vert.spv: %.vert - glslc -o $@ $< + glslc $(GLFLAGS) -o $@ $< clean: FORCE git clean -fxdi |