don't need to use LOD version of texture2D() funcs
[mesa.git] / progs / glsl / Makefile
index 64be144e0f5fc2a20f37a57d354a75dee29d60e5..7a13c189d0ebd97b199fa1a9ed0974e04ec11b1e 100644 (file)
@@ -15,8 +15,10 @@ PROGS = \
        bump \
        deriv \
        mandelbrot \
+       multitex \
        noise \
        points \
+       pointcoord \
        texdemo1 \
        toyball \
        twoside \
@@ -102,6 +104,13 @@ mandelbrot: mandelbrot.o shaderutil.o
        $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) mandelbrot.o shaderutil.o $(LIBS) -o $@
 
 
+multitex.o: multitex.c extfuncs.h readtex.h shaderutil.h
+       $(CC) -c -I$(INCDIR) $(CFLAGS) multitex.c
+
+multitex: multitex.o readtex.o shaderutil.o
+       $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) multitex.o readtex.o shaderutil.o $(LIBS) -o $@
+
+
 noise.o: noise.c extfuncs.h shaderutil.h
        $(CC) -c -I$(INCDIR) $(CFLAGS) noise.c
 
@@ -116,6 +125,13 @@ points: points.o shaderutil.o
        $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) points.o shaderutil.o $(LIBS) -o $@
 
 
+pointcoord.o: pointcoord.c readtex.h extfuncs.h shaderutil.h
+       $(CC) -c -I$(INCDIR) $(CFLAGS) pointcoord.c
+
+pointcoord: pointcoord.o readtex.o shaderutil.o
+       $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) pointcoord.o readtex.o shaderutil.o $(LIBS) -o $@
+
+
 texdemo1.o: texdemo1.c readtex.h extfuncs.h shaderutil.h
        $(CC) -c -I$(INCDIR) $(CFLAGS) texdemo1.c
 
@@ -151,3 +167,4 @@ clean:
        -rm -f $(PROGS)
        -rm -f *.o *~
        -rm -f extfuncs.h
+       -rm -f shaderutil.*