home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / oglgold.zip / SAMPLES / TK / MAKEFILE < prev    next >
Text File  |  1997-07-01  |  3KB  |  68 lines

  1. #! smake
  2. #
  3. #
  4. # Copyright (c) 1993-1997, Silicon Graphics, Inc.
  5. # ALL RIGHTS RESERVED
  6. # Permission to use, copy, modify, and distribute this software for
  7. # any purpose and without fee is hereby granted, provided that the above
  8. # copyright notice appear in all copies and that both the copyright notice
  9. # and this permission notice appear in supporting documentation, and that
  10. # the name of Silicon Graphics, Inc. not be used in advertising
  11. # or publicity pertaining to distribution of the software without specific,
  12. # written prior permission.
  13. #
  14. # THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
  15. # AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
  16. # INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
  17. # FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON
  18. # GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
  19. # SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
  20. # KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
  21. # LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
  22. # THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN
  23. # ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
  24. # ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
  25. # POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
  26. #
  27. # US Government Users Restricted Rights
  28. # Use, duplication, or disclosure by the Government is subject to
  29. # restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
  30. # (c)(1)(ii) of the Rights in Technical Data and Computer Software
  31. # clause at DFARS 252.227-7013 and/or in similar or successor
  32. # clauses in the FAR or the DOD or NASA FAR Supplement.
  33. # Unpublished-- rights reserved under the copyright laws of the
  34. # United States.  Contractor/manufacturer is Silicon Graphics,
  35. # Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.
  36. #
  37. # OpenGL(R) is a registered trademark of Silicon Graphics, Inc.
  38. #
  39.  
  40. TARGETS = accum.exe bitmap1.exe bitmap2.exe copy.exe \
  41.           depth.exe eval.exe fog.exe font.exe   \
  42.           line.exe logo.exe nurb.exe olympic.exe   \
  43.           point.exe prim.exe quad.exe select.exe   \
  44.           speed.exe sphere.exe star.exe stencil.exe   \
  45.           stretch.exe teapot.exe texture.exe tri.exe   \
  46.           wave.exe
  47.  
  48. #
  49. #  You may need to modify TOP and TK so that
  50. #  LIBTK is found.  This example assumes that LIBTK is
  51. #  placed two directories above this one.
  52. #
  53.  
  54. TOP = ../..
  55.  
  56. TK = $(TOP)/lib/libtk.lib
  57. LLDLIBS = $(TK) $(TOP)/lib/opengl.lib
  58.  
  59. default: $(TARGETS)
  60.  
  61. all: default
  62.  
  63. .c.exe:
  64.     icc /DOS2 /Ms /Ss /Ti+ -I$(CPPMAIN)\include -I$(TOP)\include -I$(TOP)\include\gl $(LLDLIBS) $< -Fe $@ /B"/PM:PM /STACK:2048576 /M /C /ALIGN:32 /EXEPACK"
  65.  
  66. clean:  
  67.     erase *.obj *.map $(TARGETS)
  68.