home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl1 / answers / Makefile < prev    next >
Encoding:
Makefile  |  1996-11-11  |  1.9 KB  |  62 lines

  1. #!smake -J1
  2. # (Don't run this make in parallel, because we tend to run out of
  3. #  swap space when compiling lists.c)
  4. #
  5. # Copyright 1993, Silicon Graphics, Inc.
  6. #  All Rights Reserved.
  7. #
  8. # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  9. # the contents of this file may not be disclosed to third parties, copied or
  10. # duplicated in any form, in whole or in part, without the prior written
  11. # permission of Silicon Graphics, Inc.
  12. #
  13. # RESTRICTED RIGHTS LEGEND:
  14. # Use, duplication or disclosure by the Government is subject to restrictions
  15. # as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  16. # and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  17. # successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  18. # rights reserved under the Copyright Laws of the United States.
  19. #
  20. #
  21. # Makefile for opengl 1 class sample lab answers
  22. #
  23. #    "$Revision: 1.2 $"
  24.  
  25. include    $(ROOT)/usr/include/make/commondefs
  26.  
  27. CFILES =  solar14.c blending.c \
  28.       clearcolor.c shape_a.c shape_b.c shape_c.c shape_d.c \
  29.       objects.c perspective.c solar5.c scene.c \
  30.       solar6.c reshape.c solar7.c depth.c polygonoffset.c \
  31.       solar8.c viewing.c \
  32.       solar9.c lighting.c solar10.c animate.c \
  33.       solar11.c lightprops.c lmodel.c solar12.c labels.c \
  34.       solar13.c lists.c 
  35. TARGETS = solar14 blending \
  36.       clearcolor shape_a shape_b shape_c shape_d \
  37.       objects perspective solar5 scene \
  38.       solar6 reshape solar7 depth polygonoffset \
  39.       solar8 viewing \
  40.       solar9 lighting solar10 animate \
  41.       solar11 lightprops lmodel solar12 labels \
  42.       solar13 lists 
  43.  
  44. OPENGL1 ?= ..
  45.  
  46. LLDOPTS = -L${OPENGL1}/lib
  47. LLDLIBS = -loglprog -lglut -lGLU -lGL -lXmu -lX11 -lm
  48.  
  49. LCINCS = -I. -I${OPENGL1}/include
  50.  
  51. # don't bother making intermediate files since only one source file
  52. LMKDEPFLAGS= $(NULLSUFFIX_MKDEPFLAG)
  53.  
  54. default:    $(TARGETS)
  55.  
  56. include $(COMMONRULES)
  57.  
  58. install:    default
  59.  
  60. solar13 solar14:    $@.o stars.o
  61.     $(CCF) -o $@ $@.o stars.o $(LDFLAGS)
  62.