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

  1. # Make file for POV-Ray Version 2.0 for use with Intel's "Code Builder Kit" 
  2. # compiler to produce a 32 bit protected mode version.
  3. # This is the make file that the "official" POV-Ray team executable was
  4. # created from.
  5. #
  6. # This version will link in the coprocessor emulation module. The EXE
  7. # will use a coprocessor if one is detected in the machine.
  8. # The Virtual Memory Manager will also be linked in by default.
  9. #
  10. # IMPORTANT: When editing this file do NOT replace the TAB's at the
  11. # beginnng of the lines with all spaces, it seems to break the OPUS
  12. # "make" utility shipped with Code Builder.
  13. # (In the HDRS, OBJS & SRCS lists for example.)
  14. #
  15. # Bill Pulver --- 9/93
  16.  
  17. CC      = icc         
  18. CFLAGS  = /O3 /znosignedchar /zmod486 /znoansi 
  19.  
  20. #/D_mathh_builtin        This switch will force the compiler to use the
  21. #                        Library math functions instead of the faster 
  22. #                        inline functions.
  23.  
  24.                       
  25. DEST    = .           
  26.                       
  27. EXTHDRS        =
  28. HDRS        = config.h extend.h frame.h parse.h povproto.h texture.h \
  29.           tiga.h tigadefs.h vector.h
  30.  
  31. LINKFLAGS  =  /e$(PROGRAM) /xiobuf=64k /s90000
  32.  
  33. # ------------------- LINKFLAGS options -------------------------------------
  34. # /sxxxxxx   Use higher stack values to increase the maximum number of
  35. #            levels that reflections can be calculated for. The default
  36. #            CB stack allows a max_trace_level of about 20 -> 25. 512K
  37. #            raises it to over 500, depending on the image, but trace
  38. #            times get -REAL- long. 
  39. #
  40. # /xiobuf    Sets the size of the I/O buffer for the EXE. Range >=4k to <=64k
  41. #
  42. #            Use /n to generate no copro code with version 1.0x of ICB.
  43. #
  44. # 1.1x links the FPU emulator in by default. Use the /F switch for 1.1x 
  45. # versions of ICB to suppress linking of the FPU emulator.
  46. #
  47. # Use /xnovm to generate an EXE without the virtual memory manager linked in.
  48.  
  49.  
  50.  
  51. LDMAP   =             # Optional - to name the linker map file
  52. LIBS    =             # Optional - library files (full pathnames)
  53.  
  54.  
  55. OBJS        = bezier.obj blob.obj bound.obj boxes.obj camera.obj \
  56.           colour.obj cones.obj csg.obj discs.obj dump.obj \
  57.           express.obj gif.obj gifdecod.obj hfield.obj ibm.obj \
  58.           iff.obj image.obj lighting.obj matrices.obj normal.obj \
  59.           objects.obj parse.obj pigment.obj planes.obj point.obj \
  60.           poly.obj povray.obj quadrics.obj raw.obj ray.obj \
  61.           render.obj spheres.obj targa.obj texture.obj tokenize.obj \
  62.           triangle.obj txttest.obj vect.obj _get_ebx.obj
  63.  
  64. PROGRAM = POVRAY
  65.  
  66.  
  67. SRCS        = bezier.c blob.c bound.c boxes.c camera.c colour.c cones.c \
  68.           csg.c discs.c dump.c express.c gif.c gifdecod.c hfield.c \
  69.           ibm.c iff.c image.c lighting.c matrices.c normal.c \
  70.           objects.c parse.c pigment.c planes.c point.c poly.c \
  71.           povray.c quadrics.c raw.c ray.c render.c spheres.c targa.c \
  72.           texture.c tokenize.c triangle.c txttest.c vect.c
  73.  
  74.  
  75. # This is the only required target. It states that the PROGRAM depends
  76. # on all files listed in the OBJS and LIBS macros. The command for updating
  77. # the library is the line following the dependency line.
  78. #
  79. # -----------------------------------------------------------------------
  80. # Create linker response file since the command line is too long for DOS.
  81. # Link program.
  82. # Erase linker response file so that later runs are not >> echoed into
  83. # the x.LRF file & confuse the linker.
  84. # -----------------------------------------------------------------------
  85.  
  86.  
  87. CB_LINK_RESP=$(PROGRAM,B,S/.*/&.LRF)
  88.  
  89. $(PROGRAM):  $(OBJS)
  90.     echo $(OBJS)       > $(CB_LINK_RESP)
  91.     echo $(LINKFLAGS) >> $(CB_LINK_RESP)
  92.     $(CC) @$(CB_LINK_RESP)
  93.         @echo
  94.         @echo Link completed. Now clean things up.....
  95.         erase $(CB_LINK_RESP)
  96.         @echo ********** D O N E ************
  97.  
  98.  
  99. ### MKMF:  Do not remove this line!  Automatic dependencies follow.
  100.  
  101. bezier.obj: config.h frame.h povproto.h vector.h
  102.  
  103. blob.obj: config.h frame.h povproto.h vector.h
  104.  
  105. bound.obj: config.h frame.h povproto.h vector.h
  106.  
  107. boxes.obj: config.h frame.h povproto.h vector.h
  108.  
  109. camera.obj: config.h frame.h povproto.h vector.h
  110.  
  111. colour.obj: config.h frame.h povproto.h vector.h
  112.  
  113. cones.obj: config.h frame.h povproto.h vector.h
  114.  
  115. csg.obj: config.h frame.h povproto.h vector.h
  116.  
  117. discs.obj: config.h frame.h povproto.h vector.h
  118.  
  119. dump.obj: config.h frame.h povproto.h
  120.  
  121. express.obj: config.h frame.h parse.h povproto.h vector.h
  122.  
  123. gif.obj: config.h frame.h povproto.h
  124.  
  125. gifdecod.obj: config.h frame.h povproto.h
  126.  
  127. hfield.obj: config.h frame.h povproto.h vector.h
  128.  
  129. ibm.obj: config.h extend.h frame.h povproto.h tiga.h tigadefs.h
  130.  
  131. iff.obj: config.h frame.h povproto.h
  132.  
  133. image.obj: config.h frame.h povproto.h texture.h vector.h
  134.  
  135. lighting.obj: config.h frame.h povproto.h vector.h
  136.  
  137. matrices.obj: config.h frame.h povproto.h vector.h
  138.  
  139. normal.obj: config.h frame.h povproto.h texture.h vector.h
  140.  
  141. objects.obj: config.h frame.h povproto.h vector.h
  142.  
  143. parse.obj: config.h frame.h parse.h povproto.h vector.h
  144.  
  145. pigment.obj: config.h frame.h povproto.h texture.h vector.h
  146.  
  147. planes.obj: config.h frame.h povproto.h vector.h
  148.  
  149. point.obj: config.h frame.h povproto.h vector.h
  150.  
  151. poly.obj: config.h frame.h povproto.h vector.h
  152.  
  153. povray.obj: config.h frame.h povproto.h
  154.  
  155. quadrics.obj: config.h frame.h povproto.h vector.h
  156.  
  157. raw.obj: config.h frame.h povproto.h
  158.  
  159. ray.obj: config.h frame.h povproto.h vector.h
  160.  
  161. render.obj: config.h frame.h povproto.h vector.h
  162.  
  163. spheres.obj: config.h frame.h povproto.h vector.h
  164.  
  165. targa.obj: config.h frame.h povproto.h
  166.  
  167. texture.obj: config.h frame.h povproto.h texture.h vector.h
  168.  
  169. tokenize.obj: config.h frame.h parse.h povproto.h
  170.  
  171. triangle.obj: config.h frame.h povproto.h vector.h
  172.  
  173. txttest.obj: config.h frame.h povproto.h texture.h vector.h
  174.  
  175. vect.obj: config.h frame.h povproto.h vector.h
  176.