home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Science / Science.zip / imdisp79.zip / MAKEFILE < prev    next >
Text File  |  1993-09-03  |  6KB  |  178 lines

  1. #    This makefile will rebuild IMDISP.  Invoke it from DOS with
  2. #    the command "MAKE IMDISP".  It requires that the programs
  3. #    CL (the C compiler), MASM (the macro assembler), LINK (the
  4. #    MS-DOS linker) and MAKE (the MAKE program) all lie in the
  5. #    current path, along with the response file IMDISP.RSP
  6. #
  7. #    This makefile is for Microsoft C, v6.0.  Invoke with the
  8. #    command line "nmake"
  9. #
  10. # Written by A. Warnock, ST Systems Corp.
  11. #
  12. # The following define the macros to be used
  13. #
  14. # These are DEBUG compile/link flags
  15. #masmflag = /Zm /Zi /c /I.
  16. #compflag = /f /AL /Od /Zi /c
  17. #linkflag = /NOE /CO /stack:14000
  18. #swapflag = /D_Large /Zi
  19. #
  20. # These are QuickC compile/link flags
  21. #masmflag = /Zm /c /I.
  22. #compflag = /AL /qc /c
  23. #linkflag = /NOE /stack:14000
  24. #swapflag = /D_Large
  25. #
  26. # These are 80286-specific compile/link flags
  27. #masmflag = /Zm /c /I.
  28. #compflag = /AL /c
  29. #linkflag = /F /NOE /stack:14000
  30. #swapflag = /D_Large
  31. #
  32. # These are 80286-specific compile/link flags requiring coprocessor
  33. #masmflag = /Zm /c /I.
  34. #compflag = /AL /FPc87 /c
  35. #linkflag = /F /NOE /stack:14000
  36. #swapflag = /D_Large
  37. #
  38. # These are regular optimized compile/link flags
  39. masmflag = /Zm /c /I.
  40. compflag = /AL /c
  41. linkflag = /F /NOE /stack:14000
  42. swapflag = /D_Large
  43.  
  44. #
  45. # The following lines link the program
  46. #
  47. imdisp.exe: ativga.obj browse.obj dispio.obj display.obj dispsub.obj \
  48.             disputil.obj evgaio.obj fileio.obj fileutil.obj filter.obj \
  49.             imageio.obj imagutil.obj imdisp.obj imdutil.obj \
  50.             keywutil.obj labutil.obj mshell.obj palutil.obj paradise.obj \
  51.             plot.obj refresh.obj rescale.obj swap.obj textutil.obj \
  52.             timer.obj trident.obj mem.obj help.obj buffer.obj vesa.obj \
  53.             spectra.obj dgif_lib.obj egif_lib.obj gif_err.obj gif_hash.obj ev629.lib
  54.    link $(linkflag) @imdisp.rsp,imdisp,NUL,mouse+ev629+emsifl+xmsifl+df+graphics;
  55.  
  56. #
  57. # The following lines compile the C source code
  58. #
  59.  
  60. imdisp.obj: imdisp.c imdef.h dispio.h disputil.h fileio.h fileutil.h \
  61.             imageio.h imagutil.h labutil.h plot.h refresh.h swap.h browse.h \
  62.             palette.h gif_lib.h palutil.h textutil.h imdutil.h mshell.h \
  63.             filter.h buffer.h
  64.    cl $(compflag) imdisp.c
  65.  
  66. browse.obj: browse.c imdef.h dispio.h imdisp.h disputil.h fileio.h \
  67.             refresh.h textutil.h
  68.    cl $(compflag) browse.c
  69.  
  70. buffer.obj: buffer.c imdef.h imdisp.h dispio.h mem.h refresh.h \
  71.             textutil.h display.h
  72.    cl $(compflag) buffer.c
  73.  
  74. dgif_lib.obj: dgif_lib.c gif_lib.h gif_hash.h
  75.    cl $(compflag) /D__MSDOS__ dgif_lib.c
  76.  
  77. egif_lib.obj: egif_lib.c gif_lib.h gif_hash.h
  78.    cl $(compflag) /D__MSDOS__ egif_lib.c
  79.  
  80. dispio.obj: dispio.c imdef.h imdisp.h disputil.h evgaio.h ativga.h \
  81.             paradise.h dispsub.h refresh.h textutil.h mem.h vesa.h
  82.    cl $(compflag) dispio.c
  83.  
  84. display.obj: display.c imdef.h imdisp.h dispio.h disputil.h imageio.h \
  85.              refresh.h labutil.h textutil.h imdutil.h
  86.    cl $(compflag) display.c
  87.  
  88. disputil.obj: disputil.c imdef.h imdisp.h dispio.h refresh.h textutil.h
  89.    cl $(compflag) disputil.c
  90.  
  91. evgaio.obj: evgaio.c imdef.h dispio.h
  92.    cl $(compflag) evgaio.c
  93.  
  94. fileio.obj: fileio.c imdef.h imdisp.h textutil.h
  95.    cl $(compflag) fileio.c
  96.  
  97. fileutil.obj: fileutil.c imdef.h imdisp.h dispio.h disputil.h refresh.h \
  98.               imageio.h  labutil.h textutil.h imdutil.h
  99.    cl $(compflag) fileutil.c
  100.  
  101. filter.obj: filter.c imdef.h imdisp.h imdutil.h dispio.h refresh.h \
  102.             display.h mem.h
  103.    cl $(compflag) filter.c
  104.  
  105. gif_hash.obj: gif_hash.c gif_lib.h gif_hash.h
  106.    cl $(compflag) gif_hash.c
  107.  
  108. gif_err.obj: gif_err.c gif_lib.h gif_hash.h
  109.    cl $(compflag) gif_err.c
  110.  
  111. imageio.obj: imageio.c imdef.h imdisp.h disputil.h fileio.h labutil.h \
  112.              refresh.h textutil.h imdutil.h
  113.    cl $(compflag) imageio.c
  114.  
  115. imagutil.obj: imagutil.c imdef.h dispio.h disputil.h textutil.h
  116.    cl $(compflag) imagutil.c
  117.  
  118. imdutil.obj: imdutil.c imdef.h dispio.h disputil.h textutil.h refresh.h
  119.    cl $(compflag) imdutil.c
  120.  
  121. keywutil.obj: keywutil.c imdef.h dispio.h imdutil.h textutil.h fileio.h \
  122.               imdisp.h mshell.h
  123.    cl $(compflag) keywutil.c
  124.  
  125. labutil.obj: labutil.c imdef.h imdisp.h dispio.h disputil.h fileio.h \
  126.              refresh.h textutil.h imdutil.h
  127.    cl $(compflag) labutil.c
  128.  
  129. mshell.obj: mshell.c
  130.    cl $(compflag) mshell.c
  131.  
  132. palutil.obj: palutil.c imdef.h imdisp.h dispio.h disputil.h textutil.h \
  133.              imdutil.h
  134.    cl $(compflag) palutil.c
  135.  
  136. plot.obj: plot.c imdef.h dispio.h disputil.h imageio.h labutil.h \
  137.           textutil.h spectra.h
  138.    cl $(compflag) plot.c
  139.  
  140. refresh.obj: refresh.c imdef.h dispio.h mem.h
  141.    cl $(compflag) refresh.c
  142.  
  143. textutil.obj: textutil.c imdef.h dispio.h disputil.h imdutil.h
  144.    cl $(compflag) textutil.c
  145.  
  146. vesa.obj: vesa.c
  147.    cl $(compflag) vesa.c
  148.  
  149. mem.obj: mem.c mem.h emsif.h
  150.    cl $(compflag) mem.c
  151.  
  152. help.obj: help.c imdef.h imdisp.h dispio.h labutil.h textutil.h imdutil.h
  153.    cl $(compflag) help.c
  154.  
  155. spectra.obj: spectra.c imdef.h imdisp.h disputil.h textutil.h plot.h
  156.    cl $(compflag) spectra.c
  157.  
  158. #
  159. # The following lines compile the assembly code
  160. #
  161. ativga.obj: ativga.asm
  162.    ml $(masmflag) ativga.asm
  163.  
  164. dispsub.obj: dispsub.asm
  165.    ml $(masmflag) dispsub.asm
  166.  
  167. paradise.obj: paradise.asm
  168.    ml $(masmflag) paradise.asm
  169.  
  170. rescale.obj: rescale.asm
  171.    ml $(masmflag) rescale.asm
  172.  
  173. swap.obj: swap.asm
  174.    ml $(swapflag) $(masmflag) swap.asm
  175.  
  176. timer.obj: timer.asm
  177.    ml $(masmflag) timer.asm
  178.