summaryrefslogtreecommitdiffstats
path: root/progs/glsl/Makefile
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2009-01-14 17:01:16 +0000
committerAlan Hourihane <[email protected]>2009-01-14 17:01:16 +0000
commite82784559e00cb534993c01309ad1832e9b3e56b (patch)
tree8c01cf08aa891114513ca8bd9fafe245be06f3f4 /progs/glsl/Makefile
parent85dfed93fe2a6aace7dd2e08f97760e7062e6eb3 (diff)
mesa: add new samplers_array test
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r--progs/glsl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index a39170b8c9c..7099eeadbd9 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -24,6 +24,7 @@ PROGS = \
points \
pointcoord \
samplers \
+ samplers_array \
skinning \
texdemo1 \
toyball \
@@ -166,6 +167,11 @@ samplers.o: samplers.c readtex.h extfuncs.h shaderutil.h
samplers: samplers.o readtex.o shaderutil.o
$(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) samplers.o readtex.o shaderutil.o $(LIBS) -o $@
+samplers_array.o: samplers.c readtex.h extfuncs.h shaderutil.h
+ $(APP_CC) -c -DSAMPLERS_ARRAY -I$(INCDIR) $(CFLAGS) samplers.c -o samplers_array.o
+
+samplers_array: samplers_array.o readtex.o shaderutil.o
+ $(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) samplers_array.o readtex.o shaderutil.o $(LIBS) -o $@
skinning.o: skinning.c readtex.h extfuncs.h shaderutil.h
$(APP_CC) -c -I$(INCDIR) $(CFLAGS) skinning.c