home *** CD-ROM | disk | FTP | other *** search
/ Fractal Creations (Second Edition) / FRACTALS_2E.iso / frasrc.exe / FRACTINT.MAK < prev    next >
Text File  |  1993-06-04  |  5KB  |  205 lines

  1.  
  2. # Note that frachelp.mak and fractint.mak can't be combined into a single
  3. # make file because with MSC6 we need to use "NMK", to have enough memory
  4. # available for the compiler.  NMK would not trigger subsequent recompiles
  5. # due to a rebuild of helpdefs.h file if we used a single step.
  6.  
  7. # the following klooge lets us define an alternate link/def file for 
  8. # the new overlay structure available under MSC7
  9.  
  10. !ifdef C7
  11. DEFFILE  = fractint.def
  12. LINKFILE = fractint.ln7
  13. LINKER="link /dynamic:1024 $(LINKER)"
  14. !else
  15. DEFFILE  = 
  16. LINKFILE = fractint.lnk
  17. !endif
  18.  
  19. # Next is a pseudo-target for nmake/nmk.  It just generates harmless
  20. # warnings with make.
  21.  
  22. all : fractint.exe
  23.  
  24. .asm.obj:
  25.     $(AS) $*;
  26. # for Quick Assembler
  27. #       $(AS) $*.asm
  28.  
  29. .c.obj:
  30.       $(CC) /AM /W1 /FPi /c $(OptT) $*.c
  31.  
  32. Optsize = $(CC) /AM /W1 /FPi /c $(OptS) $*.c
  33.  
  34. Optnoalias = $(CC) /AM /W1 /FPi /c $(OptN) $*.c
  35.  
  36. lorenz.obj : lorenz.c fractint.h fractype.h
  37.  
  38. lsys.obj : lsys.c fractint.h
  39.  
  40. lsysa.obj: lsysa.asm
  41.  
  42. plot3d.obj : plot3d.c fractint.h fractype.h
  43.  
  44. 3d.obj : 3d.c fractint.h
  45.  
  46. fractals.obj : fractals.c fractint.h fractype.h mpmath.h helpdefs.h
  47.  
  48. fractalp.obj : fractalp.c fractint.h fractype.h mpmath.h helpdefs.h
  49.  
  50. calcfrac.obj : calcfrac.c fractint.h mpmath.h
  51.  
  52. miscfrac.obj : miscfrac.c fractint.h mpmath.h
  53.  
  54. fracsubr.obj : fracsubr.c fractint.h
  55.  
  56. jiim.obj : jiim.c
  57.  
  58. fracsuba.obj : fracsuba.asm
  59.  
  60. parser.obj : parser.c fractint.h mpmath.h
  61.     $(Optnoalias)
  62.  
  63. parserfp.obj : parserfp.c fractint.h mpmath.h
  64.     $(Optnoalias)
  65.  
  66. parsera.obj: parsera.asm
  67. # for MASM
  68.     $(AS) /e parsera;
  69. # for QuickAssembler
  70. #   $(AS) /FPi parsera.asm
  71.  
  72. calcmand.obj : calcmand.asm
  73.  
  74. calmanfp.obj : calmanfp.asm
  75. # for MASM
  76.     $(AS) /e calmanfp;
  77. # for QuickAssembler
  78. #   $(AS) /FPi calmanfp.asm
  79.  
  80. cmdfiles.obj : cmdfiles.c fractint.h
  81.     $(Optsize)
  82.  
  83. loadfile.obj : loadfile.c fractint.h fractype.h
  84.     $(Optsize)
  85.  
  86. loadfdos.obj : loadfdos.c fractint.h helpdefs.h
  87.     $(Optsize)
  88.  
  89. decoder.obj : decoder.c fractint.h
  90.  
  91. diskvid.obj : diskvid.c fractint.h
  92.  
  93. encoder.obj : encoder.c fractint.h fractype.h
  94.  
  95. fr8514a.obj : fr8514a.asm
  96.  
  97. hgcfra.obj : hgcfra.asm
  98.  
  99. fractint.obj : fractint.c fractint.h fractype.h helpdefs.h
  100.     $(Optsize)
  101.  
  102. video.obj : video.asm
  103.  
  104. general.obj : general.asm
  105.  
  106. gifview.obj : gifview.c fractint.h
  107.  
  108. tgaview.obj : tgaview.c fractint.h targa_lc.h port.h
  109.  
  110. help.obj : help.c fractint.h helpdefs.h helpcom.h
  111.     $(Optsize)
  112.  
  113. intro.obj : intro.c fractint.h helpdefs.h
  114.     $(Optsize)
  115.  
  116. line3d.obj : line3d.c fractint.h
  117.  
  118. newton.obj : newton.asm
  119.     $(AS) /e newton;
  120.  
  121. printer.obj : printer.c fractint.h
  122.     $(Optsize)
  123.  
  124. printera.obj : printera.asm
  125.  
  126. prompts1.obj : prompts1.c fractint.h fractype.h helpdefs.h
  127.     $(Optsize)
  128.  
  129. prompts2.obj : prompts2.c fractint.h fractype.h helpdefs.h
  130.     $(Optsize)
  131.  
  132. rotate.obj : rotate.c fractint.h helpdefs.h
  133.     $(Optsize)
  134.  
  135. editpal.obj : editpal.c fractint.h
  136.     $(Optsize)
  137.  
  138. testpt.obj: testpt.c fractint.h
  139.  
  140. targa.obj : targa.c targa.h fractint.h
  141.  
  142. loadmap.obj : loadmap.c targa.h fractint.h
  143.     $(Optsize)
  144.  
  145. yourvid.obj : yourvid.c
  146.  
  147. fpu387.obj : fpu387.asm
  148.  
  149. fpu087.obj : fpu087.asm
  150.     $(AS) /e fpu087;
  151.  
  152. f16.obj : f16.c targa_lc.h
  153.  
  154. mpmath_c.obj : mpmath_c.c mpmath.h
  155.  
  156. hcmplx.obj : hcmplx.c fractint.h
  157.  
  158. mpmath_a.obj : mpmath_a.asm
  159.  
  160. jb.obj : jb.c fractint.h helpdefs.h
  161.  
  162. zoom.obj : zoom.c fractint.h
  163.     $(Optsize)
  164.  
  165. miscres.obj : miscres.c fractint.h fractype.h helpdefs.h
  166.     $(Optsize)
  167.  
  168. miscovl.obj : miscovl.c fractint.h fractype.h helpdefs.h
  169.     $(Optsize)
  170.  
  171. realdos.obj : realdos.c fractint.h helpdefs.h
  172.     $(Optsize)
  173.  
  174. tplus.obj : tplus.c tplus.h
  175.  
  176. tplus_a.obj : tplus_a.asm
  177.  
  178. lyapunov.obj : lyapunov.asm
  179.     $(AS) /e lyapunov;
  180.  
  181. tp3d.obj : tp3d.c fractint.h
  182.  
  183. slideshw.obj : slideshw.c
  184.     $(Optsize)
  185.  
  186. fractint.exe : fractint.obj help.obj loadfile.obj encoder.obj gifview.obj \
  187.      general.obj calcmand.obj calmanfp.obj fractals.obj fractalp.obj calcfrac.obj \
  188.      testpt.obj decoder.obj rotate.obj yourvid.obj prompts1.obj prompts2.obj parser.obj \
  189.      parserfp.obj parsera.obj diskvid.obj line3d.obj 3d.obj newton.obj cmdfiles.obj \
  190.      intro.obj slideshw.obj jiim.obj miscfrac.obj \
  191.      targa.obj loadmap.obj printer.obj printera.obj fracsubr.obj fracsuba.obj \
  192.      video.obj tgaview.obj f16.obj fr8514a.obj loadfdos.obj \
  193.      hgcfra.obj fpu087.obj fpu387.obj mpmath_c.obj mpmath_a.obj \
  194.      lorenz.obj plot3d.obj jb.obj zoom.obj miscres.obj miscovl.obj \
  195.      realdos.obj lsys.obj lsysa.obj editpal.obj tplus.obj tplus_a.obj tp3d.obj \
  196.      lyapunov.obj fractint.hlp hcmplx.obj $(DEFFILE) $(LINKFILE)
  197.     $(LINKER) /ST:5120 /SE:200 /PACKC /F /NOE @$(LINKFILE) > foo
  198. !ifdef C7
  199.         @echo (Any overlay_thunks (L4059) warnings from the linker are harmless) >> foo
  200. !endif
  201.     type foo
  202. !ifndef DEBUG
  203.     hc /a
  204. !endif
  205.