summaryrefslogtreecommitdiff
path: root/progs/glsl/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-17 13:58:31 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-12-17 13:58:31 -0700
commit1cb680d06bf4c7a6789ecf8e949271e0b6d8bbf2 (patch)
tree359d618efa33357d1e4cb1532a6fcdac0c503bed /progs/glsl/Makefile
parent637f06dcdc2e5b29cbc39445b7141e6a496e1585 (diff)
demos: add test of vertex-only and fragment-only shader programs
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r--progs/glsl/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index 856de91c90..a944abe908 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -27,6 +27,7 @@ PROGS = \
toyball \
twoside \
trirast \
+ vert-or-frag-only \
vert-tex
@@ -186,6 +187,14 @@ trirast: trirast.o shaderutil.o
$(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) trirast.o shaderutil.o $(LIBS) -o $@
+vert-or-frag-only.o: vert-or-frag-only.c extfuncs.h shaderutil.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) vert-or-frag-only.c
+
+vert-or-frag-only: vert-or-frag-only.o shaderutil.o
+ $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) vert-or-frag-only.o shaderutil.o $(LIBS) -o $@
+
+
+
vert-tex.o: vert-tex.c extfuncs.h shaderutil.h
$(CC) -c -I$(INCDIR) $(CFLAGS) vert-tex.c