home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pctech / hlsrc / hl.mak < prev    next >
Text File  |  1988-09-09  |  3KB  |  96 lines

  1. #   This is the make file for HLBENCH and its companions in the benchmark
  2. #   suite.  It is designed to be used with Microsoft C 5.1 and its make 
  3. #   utility.
  4.  
  5. #  The options to the compiler include -Zi (include debugging info),
  6. #  -AM (use Medium model), and -Oait (lots of optimization, but don't
  7. #  do the various loop optimizations).    The output is redirected to
  8. #  an error file for later reference.
  9. #  The -Zi switch doesn't increase the size of the excutable, only the
  10. #  objects; it seems worth it to leave it in rather than have to recompile
  11. #  everything for debugging.
  12.  
  13. .c.obj:
  14.     cl -c -Zi -W2 -AM -Oait $*.c >e:$*.err
  15.  
  16. .obj.exe:
  17.     echo $**, >link.lnk
  18.     echo $*.exe, $*.map /NOI /NOE;>>link.lnk
  19.     link @link.lnk
  20.  
  21.  
  22. # The following rules can be used when debugging; it turns off optimization
  23. # and links with CodeView enabled.
  24. #.c.obj:
  25. #    cl -c -Zi -W2 -AM $*.c >e:$*.err
  26. #
  27. #.obj.exe:
  28. #    echo $**, >link.lnk
  29. #    echo $*.exe, $*.map /NOI /NOE /CO;>>link.lnk
  30. #    link @link.lnk
  31.  
  32. FSELECT.OBJ: FSELECT.C winmenu.h
  33.  
  34. HLBENCH.OBJ: HLBENCH.C
  35.  
  36. HLMENU.OBJ: HLMENU.C winmenu.h
  37.  
  38. HLWIN.OBJ: HLWIN.C winmenu.h hltimes.h hl.h
  39.  
  40. HLWINDOW.OBJ: HLWINDOW.C winmenu.h hltimes.h hl.h
  41.  
  42. HLANALYZ.OBJ: HLANALYZ.C winmenu.h hltimes.h hl.h
  43.  
  44. HLTIMES.OBJ: HLTIMES.C hltimes.h
  45.  
  46. HLTIMER.OBJ: HLTIMER.C hl.h
  47.  
  48. HLGRAFIT.OBJ: HLGRAFIT.C
  49.  
  50. HLGRSUBS.OBJ: HLGRSUBS.C
  51.  
  52. HLSRTSUB.OBJ: HLSRTSUB.C
  53.  
  54. HLDISK.OBJ: HLDISK.C hltimes.h hlstate.h hl.h
  55.  
  56. HLTEXT.OBJ: HLTEXT.C hltimes.h hl.h
  57.  
  58. HLFLOAT.OBJ: HLFLOAT.C hltimes.h hl.h
  59.  
  60. HLSORT.OBJ: HLSORT.C hltimes.h hl.h
  61.  
  62. HLDESC.OBJ: HLDESC.C winmenu.h hltimes.h
  63.  
  64. HLGRAPH.OBJ: HLGRAPH.C hltimes.h hl.h
  65.  
  66. HLSTART.OBJ: HLSTART.C
  67.  
  68. hlsort.exe : hlsort.obj hltimer.obj hltimes.obj
  69.  
  70. hldesc.exe : hldesc.obj hltimes.obj hlmenu.obj hlwin.obj
  71.  
  72. hlfloat.exe : hlfloat.obj hltimer.obj hlgrsubs.obj hltimes.obj
  73.  
  74. hltext.exe : hltext.obj hltimes.obj hltimer.obj
  75.  
  76. hldisk.exe : hldisk.obj hlsrtsub.obj hltimes.obj hltimer.obj
  77.  
  78. hlbench.exe : hlbench.obj hlmenu.obj hlwin.obj
  79.  
  80. hlwindow.exe : hlwindow.obj hlwin.obj hltimes.obj hltimer.obj
  81.  
  82. hlanalyz.exe : hlanalyz.obj hlwin.obj hlmenu.obj hltimes.obj\
  83.          hltimer.obj hlgrafit.obj hlgrsubs.obj fselect.obj
  84.  
  85. hlgraph.exe : hlgraph.obj hltimer.obj hltimes.obj hlgrsubs.obj
  86.  
  87. hlstart.exe : hlstart.obj hlgrsubs.obj
  88.  
  89. # The two routines below need a different amount of stack from the
  90. # standard; hlsort needs less, because it's pushing the maximum heap
  91. # space; hlanalyz needs more because it has a lot of local variables. 
  92.  
  93. ENDMAKE: hlsort.exe hlanalyz.exe
  94.     exemod hlsort.exe /stack 300
  95.     exemod hlanalyz.exe /stack 1000
  96.