diff options
author | Brian Paul <[email protected]> | 2009-04-17 16:23:33 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-04-17 16:23:33 -0600 |
commit | 538a82388293ca1b14e6eb8b26179d1f42627210 (patch) | |
tree | eb62de0ba4213ffae1062063d99054f2e3d45c6f /progs/glsl/Makefile | |
parent | 794d488e6dc795c225505b8c00a7f00f1960a5ad (diff) |
demos: new glsl/array.c demo
Test variable indexing into a uniform array in a vertex shader.
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r-- | progs/glsl/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile index 0f1a299570f..5fb95c4b3bc 100644 --- a/progs/glsl/Makefile +++ b/progs/glsl/Makefile @@ -10,6 +10,7 @@ LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) $(T LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS) PROGS = \ + array \ bitmap \ brick \ bump \ @@ -80,6 +81,13 @@ shaderutil.o: shaderutil.c shaderutil.h +array.o: array.c extfuncs.h shaderutil.h + $(APP_CC) -c -I$(INCDIR) $(CFLAGS) array.c + +array: array.o shaderutil.o + $(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) array.o shaderutil.o $(LIBS) -o $@ + + bitmap.o: bitmap.c extfuncs.h shaderutil.h $(APP_CC) -c -I$(INCDIR) $(CFLAGS) bitmap.c |