home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / source / povsrc.sit / MACHINE / IBMPC.ZIP / IBMZOR.MAK < prev    next >
Encoding:
Makefile  |  1992-03-22  |  3.3 KB  |  120 lines

  1. # IBM Makefile for Persistence of Vision Raytracer
  2. # This file is released to the public domain.
  3. #
  4. # Note for the Zortech C++ 286-DOS-Extender IBM Version:
  5. # Uses Zortech's "Z" memory model and ZPM.EXE DOS extender for
  6. # use with 286 and higher Intel/MSDOS systems.
  7. #
  8. # This makefile is specific to Charles Marslett's MK utility, though
  9. # it can be modified easily for other Microsoft NMAKE or Unix MAKE
  10. # compatible "make"s (mostly, the \ as a continuation character, and
  11. # the << convention for building temporary files are not universal).
  12. #
  13. #
  14. # MAKE Macros and Such...
  15. #
  16.  
  17. CMODEL  =l
  18. LIB     =d:\zt\lib
  19. CC      =ztc -c
  20. OBJ     =obj
  21. MACHINE_OBJ = ibm.$(OBJ)
  22.  
  23. LINKER  =rtlink
  24.  
  25. # To compile for no FPU
  26. #CFLAGS =-m$(CMODEL) -o+all -bx -a2 -R -2
  27.  
  28. # To compile for a 287/387
  29. CFLAGS  =-m$(CMODEL) -o+all -bx -f -a2 -R -2
  30.  
  31. .c.obj :
  32.     $(CC) $(CFLAGS) $*.c
  33.  
  34.  
  35. PVOBJS = povray.$(OBJ) render.$(OBJ) tokenize.$(OBJ) parse.$(OBJ) \
  36.       objects.$(OBJ) spheres.$(OBJ) quadrics.$(OBJ) lighting.$(OBJ) \
  37.       prioq.$(OBJ) texture.$(OBJ) matrices.$(OBJ) csg.$(OBJ) \
  38.       hfield.$(OBJ) txtcolor.$(OBJ) txtbump.$(OBJ) txtmap.$(OBJ) \
  39.       txttest.$(OBJ) colour.$(OBJ) viewpnt.$(OBJ) ray.$(OBJ) \
  40.       planes.$(OBJ) point.$(OBJ) boxes.$(OBJ) blob.$(OBJ) \
  41.       triangle.$(OBJ) raw.$(OBJ) dump.$(OBJ) targa.$(OBJ) poly.$(OBJ) \
  42.       iff.$(OBJ) gif.$(OBJ) gifdecod.$(OBJ) \
  43.       bezier.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ) ai.lib
  44.  
  45.  
  46. # POV-Ray - Specific Dependencies
  47. #
  48. povray.exe : $(PVOBJS)
  49.     $(LINKER)  @ibmzor.lnk
  50.  
  51. povray.$(OBJ) : povray.c frame.h vector.h config.h
  52.  
  53. tokenize.$(OBJ) : tokenize.c frame.h config.h
  54.  
  55. parse.$(OBJ) : parse.c frame.h config.h
  56.  
  57. render.$(OBJ) : render.c frame.h vector.h config.h
  58.  
  59. lighting.$(OBJ) : lighting.c frame.h vector.h config.h
  60.  
  61. prioq.$(OBJ) : prioq.c frame.h config.h
  62.  
  63. texture.$(OBJ) : texture.c frame.h vector.h config.h texture.h
  64.  
  65. txtcolor.$(OBJ) : txtcolor.c frame.h vector.h config.h texture.h
  66.  
  67. txtbump.$(OBJ) : txtbump.c frame.h vector.h config.h texture.h
  68.  
  69. txtmap.$(OBJ) : txtmap.c frame.h vector.h config.h texture.h
  70.  
  71. txttest.$(OBJ) : txttest.c frame.h vector.h config.h texture.h
  72.  
  73. objects.$(OBJ) : objects.c frame.h vector.h config.h
  74.  
  75. hfield.$(OBJ) : hfield.c frame.h vector.h config.h
  76.  
  77. spheres.$(OBJ) : spheres.c frame.h vector.h config.h
  78.  
  79. planes.$(OBJ) : planes.c frame.h vector.h config.h
  80.  
  81. point.$(OBJ) : point.c frame.h vector.h config.h
  82.  
  83. boxes.$(OBJ) : boxes.c frame.h vector.h config.h
  84.  
  85. blob.$(OBJ) : blob.c frame.h vector.h config.h
  86.  
  87. quadrics.$(OBJ) : quadrics.c frame.h vector.h config.h
  88.  
  89. poly.$(OBJ) : poly.c frame.h vector.h config.h
  90.  
  91. bezier.$(OBJ) : bezier.c frame.h vector.h config.h
  92.  
  93. vect.$(OBJ) : vect.c frame.h config.h
  94.  
  95. matrices.$(OBJ) : matrices.c frame.h vector.h config.h
  96.  
  97. csg.$(OBJ) : csg.c frame.h vector.h config.h
  98.  
  99. colour.$(OBJ) : colour.c frame.h config.h
  100.  
  101. viewpnt.$(OBJ) : viewpnt.c frame.h vector.h config.h
  102.  
  103. ray.$(OBJ) : ray.c frame.h vector.h config.h
  104.  
  105. iff.$(OBJ) : iff.c frame.h config.h
  106.  
  107. gif.$(OBJ) : gif.c frame.h config.h
  108.  
  109. gifdecod.$(OBJ) : gifdecod.c frame.h config.h
  110.  
  111. raw.$(OBJ) : raw.c frame.h config.h
  112.  
  113. dump.$(OBJ) : dump.c frame.h config.h
  114.  
  115. targa.$(OBJ) : targa.c frame.h config.h
  116.  
  117. triangle.$(OBJ) : triangle.c frame.h vector.h config.h
  118.  
  119. ibm.$(OBJ) : ibm.c frame.h config.h
  120.