diff options
author | Brian Paul <[email protected]> | 2008-12-17 13:58:31 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-18 14:17:06 -0700 |
commit | bde3b3a16487a3939b732e9fd53b6e347fa2f94b (patch) | |
tree | 9523aaedc54c1d2340f3810228a1ea9b5f0773e1 /progs/glsl/Makefile | |
parent | 7d41f10605c9e31b8d427f9f63f6505b187ac637 (diff) |
demos: add test of vertex-only and fragment-only shader programs
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r-- | progs/glsl/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile index 71ca0af9412..d21dcb65608 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 |