summaryrefslogtreecommitdiff
path: root/progs/glsl/Makefile
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2008-05-20 18:49:40 -0400
committerZack Rusin <zack@tungstengraphics.com>2008-05-20 18:49:51 -0400
commitcd87aeae00e17e49e258d4d0db6524d808ba7d3f (patch)
tree017ada57bb139d03278dfe76ecb81c0c682db77c /progs/glsl/Makefile
parent26f874e967e5bcbd0e0c73674df3d3900b98d35b (diff)
add a simple but nice example of convolution filters in glsl
shows basics of image processing with glsl
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 37fa312c30..b9cae66815 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -14,7 +14,8 @@ PROGS = \
mandelbrot \
noise \
toyball \
- texdemo1
+ texdemo1 \
+ convolutions
##### RULES #####
@@ -62,6 +63,12 @@ texdemo1: texdemo1.o readtex.o
texdemo1.o: texdemo1.c readtex.h extfuncs.h
$(CC) -c -I$(INCDIR) $(CFLAGS) texdemo1.c
+convolutions: convolutions.o readtex.o
+ $(CC) -I$(INCDIR) $(CFLAGS) convolutions.o readtex.o $(APP_LIB_DEPS) -o $@
+
+convolutions.o: convolutions.c readtex.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) convolutions.c
+
clean:
-rm -f $(PROGS)