diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-16 20:18:59 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-16 20:18:59 +0200 |
commit | 8d7911dc40c3bfc8f4fae65f29f4c8094aec79f7 (patch) | |
tree | e3ded763bc15661cfa7cf420e5e96643eb865722 /makefile | |
parent | 68081ef4f1f51b5753e25a1be6f870eb2e84f76e (diff) |
add uniform variable to shader
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 |