aboutsummaryrefslogtreecommitdiffstats
path: root/progs/glsl
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-03 11:33:13 -0700
committerBrian <[email protected]>2007-02-03 11:33:13 -0700
commit8e0c6fc0be503bc13a2817c7a86c83d1e67e72b0 (patch)
tree82c32a233d950c8e70babc07d31246643ab6aff9 /progs/glsl
parent68fc4ff1d7f749670684119647e0ef945d23dfa9 (diff)
added texdemo1
Diffstat (limited to 'progs/glsl')
-rw-r--r--progs/glsl/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index 9ffffead2cf..e08d4102c88 100644
--- a/progs/glsl/Makefile
+++ b/progs/glsl/Makefile
@@ -18,7 +18,8 @@ PROGS = \
bump \
mandelbrot \
noise \
- toyball
+ toyball \
+ texdemo1
##### RULES #####
@@ -43,6 +44,14 @@ default: $(PROGS)
extfuncs.h: $(TOP)/progs/util/extfuncs.h
cp $< .
+readtex.c: $(TOP)/progs/util/readtex.c
+ cp $< .
+
+readtex.h: $(TOP)/progs/util/readtex.h
+ cp $< .
+
+readtex.o: readtex.c readtex.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) readtex.c
brick.c: extfuncs.h
@@ -52,6 +61,12 @@ mandelbrot.c: extfuncs.h
toyball.c: extfuncs.h
+texdemo1: texdemo1.o readtex.o
+ $(CC) -I$(INCDIR) $(CFLAGS) texdemo1.o readtex.o $(APP_LIB_DEPS) -o $@
+
+texdemo1.o: texdemo1.c readtex.h extfuncs.h
+ $(CC) -c -I$(INCDIR) $(CFLAGS) texdemo1.c
+
clean:
-rm -f $(PROGS)