home *** CD-ROM | disk | FTP | other *** search
/ GRIPS 2: Government Rast…rocessing Software & Data / GRIPS_2.cdr / dos / imdisp / source / q_imdisp < prev    next >
Encoding:
Text File  |  1991-01-08  |  3.1 KB  |  102 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. # Written by A. Warnock, ST Systems Corp.
  8. #
  9. # The following define the macros to be used
  10. #
  11. # These are DEBUG compile/link flags
  12. #compflag = /AL /Od /Zi /c
  13. #linkflag = /NOE /CO /stack:16000
  14. #swapflag = /W2 /D_Large /mx /Zi
  15. #
  16. # These are QuickC compile/link flags
  17. compflag = /AL /qc /c
  18. linkflag = /NOE /stack:16000
  19. swapflag = /W2 /D_Large /mx
  20. #
  21. # These are 80286-specific compile/link flags
  22. #compflag = /AL /G2 /c
  23. #linkflag = /F /PAC /NOE /stack:16000
  24. #swapflag = /W2 /D_Large /mx
  25. #
  26. # These are regular optimized compile/link flags
  27. #compflag = /AL /c
  28. #linkflag = /F /PAC /NOE /stack:16000 /CP:1
  29. #swapflag = /W2 /D_Large /mx
  30. #
  31. # The following lines compile the C source code
  32. #
  33. imdisp.obj: imdisp.c imdef.h dispio.h disputil.h fileio.h fileutil.h imageio.h \
  34.             imagutil.h labutil.h plot.h refresh.h swap.h browse.h palette.h
  35.    cl $(compflag) imdisp.c
  36.  
  37. browse.obj: browse.c imdef.h dispio.h imdisp.h disputil.h fileio.h refresh.h
  38.    cl $(compflag) browse.c
  39.  
  40. dispio.obj: dispio.c imdef.h imdisp.h disputil.h evgaio.h ativga.h paradise.h \
  41.             dispsub.h refresh.h
  42.    cl $(compflag) dispio.c
  43.  
  44. display.obj: display.c imdef.h imdisp.h dispio.h disputil.h imageio.h \
  45.              refresh.h labutil.h
  46.    cl $(compflag) display.c
  47.  
  48. disputil.obj: disputil.c imdef.h imdisp.h dispio.h refresh.h
  49.    cl $(compflag) disputil.c
  50.  
  51. evgaio.obj: evgaio.c imdef.h dispio.h
  52.    cl $(compflag) evgaio.c
  53.  
  54. fileio.obj: fileio.c imdef.h imdisp.h
  55.    cl $(compflag) fileio.c
  56.  
  57. fileutil.obj: fileutil.c imdef.h imdisp.h dispio.h disputil.h refresh.h \
  58.               imageio.h  labutil.h
  59.    cl $(compflag) fileutil.c
  60.  
  61. help.obj: help.c imdef.h imdisp.h dispio.h disputil.h labutil.h
  62.    cl $(compflag) help.c
  63.  
  64. imageio.obj: imageio.c imdef.h imdisp.h disputil.h fileio.h labutil.h refresh.h
  65.    cl $(compflag) imageio.c
  66.  
  67. imagutil.obj: imagutil.c imdef.h dispio.h disputil.h
  68.    cl $(compflag) imagutil.c
  69.  
  70. labutil.obj: labutil.c imdef.h imdisp.h dispio.h disputil.h fileio.h refresh.h
  71.    cl $(compflag) labutil.c
  72.  
  73. plot.obj: plot.c imdef.h dispio.h disputil.h imageio.h labutil.h
  74.    cl $(compflag) plot.c
  75.  
  76. refresh.obj: refresh.c imdef.h dispio.h
  77.    cl $(compflag) refresh.c
  78.  
  79. #
  80. # The following lines compile the assembly code
  81. #
  82. ativga.obj: ativga.asm
  83.    masm ativga.asm;
  84.  
  85. dispsub.obj: dispsub.asm
  86.    masm dispsub.asm;
  87.  
  88. swap.obj: swap.asm
  89.    masm $(swapflag) swap.asm;
  90.  
  91. paradise.obj: paradise.asm
  92.    masm paradise.asm;
  93.  
  94. #
  95. # The following lines link the program
  96. #
  97. imdisp.exe: imdisp.obj dispsub.obj fileio.obj evgaio.obj \
  98.             dispio.obj disputil.obj fileutil.obj imagutil.obj \
  99.             imageio.obj display.obj help.obj labutil.obj plot.obj \
  100.             ativga.obj paradise.obj swap.obj browse.obj refresh.obj
  101.    link $(linkflag) @imdisp.rsp;
  102.