summaryrefslogtreecommitdiff
path: root/progs/glsl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r--progs/glsl/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index c5d62d2370..9f5a2b7df5 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -16,6 +16,7 @@ PROGS = \
convolutions \
deriv \
identity \
+ fragcoord \
mandelbrot \
multitex \
noise \
@@ -115,6 +116,13 @@ identity: identity.o shaderutil.o
$(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) identity.o shaderutil.o $(LIBS) -o $@
+fragcoord.o: fragcoord.c extfuncs.h shaderutil.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) fragcoord.c
+
+fragcoord: fragcoord.o shaderutil.o
+ $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) fragcoord.o shaderutil.o $(LIBS) -o $@
+
+
mandelbrot.o: mandelbrot.c extfuncs.h shaderutil.h
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) mandelbrot.c