summaryrefslogtreecommitdiff
path: root/progs/glsl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r--progs/glsl/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index 7c3e750882..ab024cecad 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -25,7 +25,8 @@ PROGS = \
texdemo1 \
toyball \
twoside \
- trirast
+ trirast \
+ vert-tex
##### RULES #####
@@ -184,6 +185,12 @@ trirast: trirast.o shaderutil.o
$(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) trirast.o shaderutil.o $(LIBS) -o $@
+vert-tex.o: vert-tex.c extfuncs.h shaderutil.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) vert-tex.c
+
+vert-tex: vert-tex.o shaderutil.o
+ $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) vert-tex.o shaderutil.o $(LIBS) -o $@
+