home *** CD-ROM | disk | FTP | other *** search
/ Chestnut's Multimedia Mania / MM_MANIA.ISO / graphics / povsrc20 / ibmwat3.mak < prev    next >
Makefile  |  1993-09-27  |  4KB  |  128 lines

  1. # IBM Makefile for Persistence of Vision Raytracer for Watcom "C32 for DOS"
  2. # Version 9.5.
  3. # For use with the Watcom C protected mode compiler on the IBM-PC.
  4. #
  5. # Note for the IBM Version:
  6. # The LIB path below will need to be chaged to suite your specific system.
  7. # The system environment variable CMODEL also may be defined for the memory 
  8. # model of the compiler.  This makefile uses the flat memory model.
  9. #
  10. # Target system for this set of make & link files the DOS4GW. Note that
  11. # DOS4GW compiles may not be able to use the HiColor or TrueColor Render
  12. # to screen options in a DPMI environment. (At least not with version 1.9
  13. # of DOS4GW.)
  14. #
  15. # --- Bill Pulver 9/93
  16. #
  17. # MAKE Macros and Such...
  18.  
  19. CMODEL    =f
  20. LIB    =D:\WATCOM\386lib
  21. CC    =wcc386
  22. OBJ    =obj
  23. MACHINE_OBJ    = ibm.$(OBJ)
  24.  
  25. LINKER    =wlink
  26.  
  27. # Use Watcom suggested "performance" options. 
  28. CFLAGS    =/m$(CMODEL) /omaxnet /zp4 /5r
  29.  
  30. # MS's NMAKE implicit rules for making an .OBJ file from a .C file...
  31. #
  32. # The second command converts debugging info from Watcom's to Turbo Debugger's
  33. # if you want to use it instead of Video.
  34. .c.obj :
  35.     $(CC) $(CFLAGS) -oxamt -oe=250 $*.c
  36. #    w2td $*.obj
  37.  
  38. F1 = povray.$(OBJ) bezier.$(OBJ) blob.$(OBJ) bound.$(OBJ) boxes.$(OBJ) 
  39. F2 = camera.$(OBJ) colour.$(OBJ) cones.$(OBJ) csg.$(OBJ) discs.$(OBJ) 
  40. F3 = dump.$(OBJ) express.$(OBJ) gifdecod.$(OBJ) gif.$(OBJ) hfield.$(OBJ) 
  41. F4 = iff.$(OBJ) image.$(OBJ) lighting.$(OBJ) matrices.$(OBJ) normal.$(OBJ) 
  42. F5 = objects.$(OBJ) parse.$(OBJ) pigment.$(OBJ) planes.$(OBJ) point.$(OBJ)
  43. F6 = poly.$(OBJ) quadrics.$(OBJ) raw.$(OBJ) ray.$(OBJ) render.$(OBJ) 
  44. F7 = spheres.$(OBJ) targa.$(OBJ) texture.$(OBJ) tokenize.$(OBJ) 
  45. F8 = triangle.$(OBJ) txttest.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ)
  46.  
  47. PVOBJS = $(F1) $(F2) $(F3) $(F4) $(F5) $(F6) $(F7) $(F8) 
  48.  
  49. # POV-Ray Specific Dependencies
  50. #
  51. povray.exe : $(PVOBJS)
  52.              $(LINKER) @ibmwat3.lnk
  53.  
  54. #
  55. # Specific module/header dependencies for PV-Ray:
  56. #
  57.  
  58. povray.$(OBJ) : povray.c povproto.h frame.h vector.h config.h
  59.  
  60. bezier.$(OBJ) : bezier.c povproto.h frame.h vector.h config.h
  61.  
  62. blob.$(OBJ) : blob.c povproto.h frame.h config.h
  63.  
  64. bound.$(OBJ) : bound.c povproto.h frame.h vector.h config.h
  65.  
  66. boxes.$(OBJ) : boxes.c povproto.h frame.h config.h
  67.  
  68. camera.$(OBJ) : camera.c povproto.h frame.h vector.h config.h
  69.  
  70. colour.$(OBJ) : colour.c povproto.h frame.h config.h
  71.  
  72. cones.$(OBJ) : cones.c povproto.h frame.h vector.h config.h
  73.  
  74. csg.$(OBJ) : csg.c povproto.h frame.h vector.h config.h
  75.  
  76. discs.$(OBJ) : discs.c povproto.h frame.h vector.h config.h
  77.  
  78. express.$(OBJ) : express.c povproto.h frame.h config.h parse.h
  79.  
  80. gifdecod.$(OBJ) : gifdecod.c povproto.h frame.h config.h
  81.  
  82. gif.$(OBJ) : gif.c povproto.h frame.h config.h
  83.  
  84. hfield.$(OBJ) : hfield.c povproto.h frame.h vector.h config.h
  85.  
  86. ibm.$(OBJ) :    ibm.c povproto.h frame.h config.h
  87.  
  88. iff.$(OBJ) : iff.c povproto.h frame.h config.h
  89.  
  90. image.$(OBJ) : image.c povproto.h frame.h vector.h config.h texture.h
  91.  
  92. lighting.$(OBJ) : lighting.c povproto.h frame.h vector.h config.h
  93.  
  94. matrices.$(OBJ) : matrices.c povproto.h frame.h vector.h config.h
  95.  
  96. normal.$(OBJ) : normal.c povproto.h frame.h vector.h config.h texture.h
  97.  
  98. objects.$(OBJ) : objects.c povproto.h frame.h vector.h config.h
  99.  
  100. parse.$(OBJ) : parse.c povproto.h frame.h config.h parse.h
  101.  
  102. pigment.$(OBJ) : pigment.c povproto.h frame.h vector.h config.h texture.h
  103.  
  104. planes.$(OBJ) : planes.c povproto.h frame.h vector.h config.h
  105.  
  106. poly.$(OBJ) : poly.c povproto.h frame.h vector.h config.h
  107.  
  108. quadrics.$(OBJ) : quadrics.c povproto.h frame.h vector.h config.h
  109.  
  110. raw.$(OBJ) :    raw.c povproto.h frame.h config.h
  111.  
  112. ray.$(OBJ) : ray.c povproto.h frame.h vector.h config.h
  113.  
  114. render.$(OBJ) : render.c povproto.h frame.h vector.h config.h
  115.  
  116. spheres.$(OBJ) : spheres.c povproto.h frame.h vector.h config.h
  117.  
  118. texture.$(OBJ) : texture.c povproto.h frame.h vector.h config.h texture.h
  119.  
  120. tokenize.$(OBJ) : tokenize.c povproto.h frame.h config.h
  121.  
  122. triangle.$(OBJ) : triangle.c povproto.h frame.h vector.h config.h
  123.  
  124. txttest.$(OBJ) : txttest.c povproto.h frame.h vector.h config.h texture.h
  125.  
  126. vect.$(OBJ) : vect.c povproto.h frame.h config.h
  127.