summaryrefslogtreecommitdiff
path: root/progs/glsl/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-21 10:03:19 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-11-21 10:04:37 -0700
commitc45c5c4ca42c29ab73e89449a41a843c24fbe159 (patch)
treea8dd0ad0eb7783be0daa92d116b4d6bc53c31961 /progs/glsl/Makefile
parent3e0164aabb48a99fce58964cad99fd3978ee84f6 (diff)
added progs/demos/fragcoord.c - tests gl_FragCoord attribute in fragment shader
Fragment's red/greenb/blue is a function gl_FragCoord.xyz
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 41d5849919..7c3e750882 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -15,6 +15,7 @@ PROGS = \
bump \
convolutions \
deriv \
+ fragcoord \
mandelbrot \
multitex \
noise \
@@ -106,6 +107,13 @@ deriv: deriv.o shaderutil.o
$(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) deriv.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
$(CC) -c -I$(INCDIR) $(CFLAGS) mandelbrot.c