aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/makefile b/makefile
index fa39ee9..daf3750 100644
--- a/makefile
+++ b/makefile
@@ -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