summaryrefslogtreecommitdiff
path: root/progs/glsl/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-01 14:02:17 -0700
committerBrian Paul <brianp@vmware.com>2009-01-01 14:02:17 -0700
commit46b8fe00c95845a9c8c9e426caef7130b0341caf (patch)
treee26ca4ee8879b4ecf947e1ac27ec40bd921eeb9d /progs/glsl/Makefile
parentdfada459aabf1a02dc2dbdb6644283fc95df2586 (diff)
demos: added progs/glsl/samplers.c to test all available texture samplers
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 a944abe908..6ba24feade 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -22,6 +22,7 @@ PROGS = \
noise \
points \
pointcoord \
+ samplers \
skinning \
texdemo1 \
toyball \
@@ -152,6 +153,13 @@ pointcoord: pointcoord.o readtex.o shaderutil.o
$(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) pointcoord.o readtex.o shaderutil.o $(LIBS) -o $@
+samplers.o: samplers.c readtex.h extfuncs.h shaderutil.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) samplers.c
+
+samplers: samplers.o readtex.o shaderutil.o
+ $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) samplers.o readtex.o shaderutil.o $(LIBS) -o $@
+
+
skinning.o: skinning.c readtex.h extfuncs.h shaderutil.h
$(CC) -c -I$(INCDIR) $(CFLAGS) skinning.c