home *** CD-ROM | disk | FTP | other *** search
/ Chip: Special Computer Graphics & Animation / Chip-Special-Computergrafik.bin / programs / povray / povsrc.lzh / machine / ibmpc / watcom / ibmwat3.mak < prev   
Makefile  |  1994-02-06  |  4KB  |  126 lines

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