From bde3b3a16487a3939b732e9fd53b6e347fa2f94b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 17 Dec 2008 13:58:31 -0700 Subject: demos: add test of vertex-only and fragment-only shader programs --- progs/glsl/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'progs/glsl/Makefile') diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile index 71ca0af941..d21dcb6560 100644 --- a/progs/glsl/Makefile +++ b/progs/glsl/Makefile @@ -28,6 +28,7 @@ PROGS = \ toyball \ twoside \ trirast \ + vert-or-frag-only \ vert-tex @@ -193,6 +194,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 -- cgit v1.2.3