home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / exampleCode / opengl / GLUT / progs / redbook / Makefile.sgi < prev    next >
Encoding:
Makefile  |  1996-11-11  |  895 b   |  34 lines

  1. #! smake
  2. #
  3. # Copyright (c) Mark J. Kilgard, 1995.
  4. #
  5. include $(ROOT)/usr/include/make/commondefs
  6.  
  7. TOP = ../..
  8.  
  9. LN = ln -s
  10. MV = mv
  11. RM = -rm -rf
  12.  
  13. TARGETS = accanti anti bezmesh checker depthcue dof fog fogindex \
  14.           material mipmap nurbs pickdepth plane polys sccolorlight \
  15.           scene scenebamb sceneflat stencil stroke surface teaambient \
  16.           teapots texturesurf
  17.  
  18. GLUT = $(TOP)/lib/glut/libglut.a
  19. LLDLIBS = $(GLUT) -lGLU -lGL -lXmu -lXext -lX11 -lm
  20.  
  21. SRCS = accanti.c anti.c bezmesh.c checker.c depthcue.c dof.c fog.c fogindex.c \
  22.        material.c mipmap.c nurbs.c pickdepth.c plane.c polys.c sccolorlight.c \
  23.        scene.c scenebamb.c sceneflat.c stencil.c stroke.c surface.c teaambient.c \
  24.        teapots.c texturesurf.c
  25.  
  26. OBJS = $(SRCS:.c=.o)
  27.  
  28. LCOPTS = -fullwarn -wlint,-f -woff 813,852,827,826 -I$(TOP)
  29. LDIRT = *~ *.bak *.pure
  30.  
  31. default : $(TARGETS)
  32.  
  33. include $(COMMONRULES)
  34.