home *** CD-ROM | disk | FTP | other *** search
/ Chestnut's Multimedia Mania / MM_MANIA.ISO / graphics / povsrc20 / ibmwat.mak < prev    next >
Makefile  |  1993-01-24  |  4KB  |  129 lines

  1. # IBM Makefile for Persistence of Vision Raytracer
  2. # This file is released to the public domain.
  3. # For use with the Watcom C compiler on the IBM-PC
  4. # Note for the IBM Version:
  5. # Uses system environment variable LIB for the linker's .LIB file path.
  6. # (Example:  Set LIB=C:\LIB)  if you change this the two .LNK files will also
  7. # need to be changed as well.  The system environment variable CMODEL also
  8. # may be defined for the memory model of the compiler.  POV-Ray requires
  9. # the "Large" memory model.  (Example Set CMODEL=l)  If you don't want to
  10. # use the DOS environment variables, uncomment the following two lines:
  11. #
  12. #
  13. # MAKE Macros and Such...
  14. #
  15.  
  16. CMODEL  =l
  17. #LIB    =c:\lib
  18. CC      =wccp
  19. OBJ     =obj
  20. MACHINE_OBJ     = ibm.$(OBJ)
  21.  
  22. LINKER  =wlink
  23.  
  24. # Uncomment for 8086/8088 instruction set usage
  25. #
  26. #CFLAGS =-m$(CMODEL) -fpc -s -zc
  27.  
  28. # Uncomment for 80186/80268 (incl. V20!) instruction set usage  [/Gmsr2]
  29. #
  30. CFLAGS  =-m$(CMODEL) -7 -2 -s -zc
  31.  
  32. # MS's NMAKE implicit rules for making an .OBJ file from a .C file...
  33. #
  34. # The second command converts debugging info from Watcom's to Turbo Debugger's
  35. #
  36. .c.obj :
  37.     $(CC) $(CFLAGS) -oxamt -oe=100 $*.c
  38. #       w2td $*.obj
  39.  
  40. F1 = povray.$(OBJ) bezier.$(OBJ) blob.$(OBJ) bound.$(OBJ) boxes.$(OBJ) 
  41. F2 = camera.$(OBJ) colour.$(OBJ) cones.$(OBJ) csg.$(OBJ) discs.$(OBJ) 
  42. F3 = dump.$(OBJ) express.$(OBJ) gifdecod.$(OBJ) gif.$(OBJ) hfield.$(OBJ) 
  43. F4 = iff.$(OBJ) image.$(OBJ) lighting.$(OBJ) matrices.$(OBJ) normal.$(OBJ) 
  44. F5 = objects.$(OBJ) parse.$(OBJ) pigment.$(OBJ) planes.$(OBJ) point.$(OBJ)
  45. F6 = poly.$(OBJ) quadrics.$(OBJ) raw.$(OBJ) ray.$(OBJ) render.$(OBJ) 
  46. F7 = spheres.$(OBJ) targa.$(OBJ) texture.$(OBJ) tokenize.$(OBJ) 
  47. F8 = triangle.$(OBJ) txttest.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ)
  48.  
  49. PVOBJS = $(F1) $(F2) $(F3) $(F4) $(F5) $(F6) $(F7) $(F8) 
  50.  
  51. # POV-Ray Specific Dependencies
  52. #
  53. povray.exe : $(PVOBJS)
  54.     $(LINKER) @ibmwat.lnk
  55.  
  56. #
  57. # Specific module/header dependencies for PV-Ray:
  58. #
  59.  
  60. povray.$(OBJ) : povray.c povproto.h frame.h vector.h config.h
  61.  
  62. bezier.$(OBJ) : bezier.c povproto.h frame.h vector.h config.h
  63.  
  64. blob.$(OBJ) : blob.c povproto.h frame.h config.h
  65.  
  66. bound.$(OBJ) : bound.c povproto.h frame.h vector.h config.h
  67.  
  68. boxes.$(OBJ) : boxes.c povproto.h frame.h config.h
  69.  
  70. camera.$(OBJ) : camera.c povproto.h frame.h vector.h config.h
  71.  
  72. colour.$(OBJ) : colour.c povproto.h frame.h config.h
  73.  
  74. cones.$(OBJ) : cones.c povproto.h frame.h vector.h config.h
  75.  
  76. csg.$(OBJ) : csg.c povproto.h frame.h vector.h config.h
  77.  
  78. discs.$(OBJ) : discs.c povproto.h frame.h vector.h config.h
  79.  
  80. express.$(OBJ) : express.c povproto.h frame.h config.h parse.h
  81.  
  82. gifdecod.$(OBJ) : gifdecod.c povproto.h frame.h config.h
  83.  
  84. gif.$(OBJ) : gif.c povproto.h frame.h config.h
  85.  
  86. hfield.$(OBJ) : hfield.c povproto.h frame.h vector.h config.h
  87.  
  88. ibm.$(OBJ) :    ibm.c povproto.h frame.h config.h
  89.  
  90. iff.$(OBJ) : iff.c povproto.h frame.h config.h
  91.  
  92. image.$(OBJ) : image.c povproto.h frame.h vector.h config.h texture.h
  93.  
  94. lighting.$(OBJ) : lighting.c povproto.h frame.h vector.h config.h
  95.  
  96. matrices.$(OBJ) : matrices.c povproto.h frame.h vector.h config.h
  97.  
  98. normal.$(OBJ) : normal.c povproto.h frame.h vector.h config.h texture.h
  99.  
  100. objects.$(OBJ) : objects.c povproto.h frame.h vector.h config.h
  101.  
  102. parse.$(OBJ) : parse.c povproto.h frame.h config.h parse.h
  103.  
  104. pigment.$(OBJ) : pigment.c povproto.h frame.h vector.h config.h texture.h
  105.  
  106. planes.$(OBJ) : planes.c povproto.h frame.h vector.h config.h
  107.  
  108. poly.$(OBJ) : poly.c povproto.h frame.h vector.h config.h
  109.  
  110. quadrics.$(OBJ) : quadrics.c povproto.h frame.h vector.h config.h
  111.  
  112. raw.$(OBJ) :    raw.c povproto.h frame.h config.h
  113.  
  114. ray.$(OBJ) : ray.c povproto.h frame.h vector.h config.h
  115.  
  116. render.$(OBJ) : render.c povproto.h frame.h vector.h config.h
  117.  
  118. spheres.$(OBJ) : spheres.c povproto.h frame.h vector.h config.h
  119.  
  120. texture.$(OBJ) : texture.c povproto.h frame.h vector.h config.h texture.h
  121.  
  122. tokenize.$(OBJ) : tokenize.c povproto.h frame.h config.h
  123.  
  124. triangle.$(OBJ) : triangle.c povproto.h frame.h vector.h config.h
  125.  
  126. txttest.$(OBJ) : txttest.c povproto.h frame.h vector.h config.h texture.h
  127.  
  128. vect.$(OBJ) : vect.c povproto.h frame.h config.h
  129.