1 # $Id: Makefile.X11,v 1.3 2000/02/16 01:09:06 brianp Exp $
3 # Mesa 3-D graphics library
5 # Copyright (C) 1995-1998 Brian Paul
7 # Makefile for programs from the OpenGL Programming Guide
15 GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS)
17 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
19 PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \
20 bezcurve bezmesh checker clip colormat cube depthcue dof \
21 double drawf feedback fog fogindex font hello image light \
22 lines list material mipmap model movelight nurbs pickdepth \
23 picksquare plane planet polyoff polys quadric robot sccolorlight \
24 scene scenebamb sceneflat select smooth stencil stroke surface \
25 teaambient teapots tess tesswind texbind texgen texprox texsub \
26 texturesurf torus trim unproject varray wrap
36 $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
43 @echo "Specify a target configuration"
54 # execute all programs
56 @for prog in $(PROGS) ; \
58 echo -n "Running $$prog ..." ; \
64 include ../Make-config