summaryrefslogtreecommitdiff
path: root/progs/glsl/Makefile
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-12-02 22:51:39 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-12-03 18:55:25 -0700
commit39091cc6385e6253464900e436cd7e9c04409ce6 (patch)
treef26b10c6c1a87cbd0087caac5420a0f27a9e05cf /progs/glsl/Makefile
parentf18880038b46c253d8689c9f6f7b77fca261e702 (diff)
demos: added simple vertex shader texture test.
Draw a quadmesh where Z coord is taken from a texture map.
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r--progs/glsl/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index 7c3e750882..ab024cecad 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -25,7 +25,8 @@ PROGS = \
texdemo1 \
toyball \
twoside \
- trirast
+ trirast \
+ vert-tex
##### RULES #####
@@ -184,6 +185,12 @@ trirast: trirast.o shaderutil.o
$(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) trirast.o shaderutil.o $(LIBS) -o $@
+vert-tex.o: vert-tex.c extfuncs.h shaderutil.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) vert-tex.c
+
+vert-tex: vert-tex.o shaderutil.o
+ $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) vert-tex.o shaderutil.o $(LIBS) -o $@
+