home *** CD-ROM | disk | FTP | other *** search
- # This makefile will rebuild IMDISP. Invoke it from DOS with
- # the command "MAKE IMDISP". It requires that the programs
- # CL (the C compiler), MASM (the macro assembler), LINK (the
- # MS-DOS linker) and MAKE (the MAKE program) all lie in the
- # current path, along with the response file IMDISP.RSP
- #
- # Written by A. Warnock, ST Systems Corp.
- #
- # The following define the macros to be used
- #
- # These are DEBUG compile/link flags
- #compflag = /AL /Od /Zi /c
- #linkflag = /NOE /CO /stack:16000
- #swapflag = /W2 /D_Large /mx /Zi
- #
- # These are QuickC compile/link flags
- #compflag = /AL /qc /c
- #linkflag = /NOE /stack:16000
- #swapflag = /W2 /D_Large /mx
- #
- # These are 80286-specific compile/link flags
- compflag = /AL /G2 /c
- linkflag = /F /PAC /NOE /stack:16000
- swapflag = /W2 /D_Large /mx
- #
- # These are regular optimized compile/link flags
- #compflag = /AL /c
- #linkflag = /F /PAC /NOE /stack:16000 /CP:1
- #swapflag = /W2 /D_Large /mx
- #
- # The following lines compile the C source code
- #
- imdisp.obj: imdisp.c imdef.h dispio.h disputil.h fileio.h fileutil.h imageio.h \
- imagutil.h labutil.h plot.h refresh.h swap.h browse.h palette.h
- cl $(compflag) imdisp.c
-
- browse.obj: browse.c imdef.h dispio.h imdisp.h disputil.h fileio.h refresh.h
- cl $(compflag) browse.c
-
- dispio.obj: dispio.c imdef.h imdisp.h disputil.h evgaio.h ativga.h paradise.h \
- dispsub.h refresh.h
- cl $(compflag) dispio.c
-
- display.obj: display.c imdef.h imdisp.h dispio.h disputil.h imageio.h \
- refresh.h labutil.h
- cl $(compflag) display.c
-
- disputil.obj: disputil.c imdef.h imdisp.h dispio.h refresh.h
- cl $(compflag) disputil.c
-
- evgaio.obj: evgaio.c imdef.h dispio.h
- cl $(compflag) evgaio.c
-
- fileio.obj: fileio.c imdef.h imdisp.h
- cl $(compflag) fileio.c
-
- fileutil.obj: fileutil.c imdef.h imdisp.h dispio.h disputil.h refresh.h \
- imageio.h labutil.h
- cl $(compflag) fileutil.c
-
- help.obj: help.c imdef.h imdisp.h dispio.h disputil.h labutil.h
- cl $(compflag) help.c
-
- imageio.obj: imageio.c imdef.h imdisp.h disputil.h fileio.h labutil.h refresh.h
- cl $(compflag) imageio.c
-
- imagutil.obj: imagutil.c imdef.h dispio.h disputil.h
- cl $(compflag) imagutil.c
-
- labutil.obj: labutil.c imdef.h imdisp.h dispio.h disputil.h fileio.h refresh.h
- cl $(compflag) labutil.c
-
- plot.obj: plot.c imdef.h dispio.h disputil.h imageio.h labutil.h
- cl $(compflag) plot.c
-
- refresh.obj: refresh.c imdef.h dispio.h
- cl $(compflag) refresh.c
-
- #
- # The following lines compile the assembly code
- #
- ativga.obj: ativga.asm
- masm ativga.asm;
-
- dispsub.obj: dispsub.asm
- masm dispsub.asm;
-
- swap.obj: swap.asm
- masm $(swapflag) swap.asm;
-
- paradise.obj: paradise.asm
- masm paradise.asm;
-
- #
- # The following lines link the program
- #
- imdisp.exe: imdisp.obj dispsub.obj fileio.obj evgaio.obj \
- dispio.obj disputil.obj fileutil.obj imagutil.obj \
- imageio.obj display.obj help.obj labutil.obj plot.obj \
- ativga.obj paradise.obj swap.obj browse.obj refresh.obj
- link $(linkflag) @imdisp.rsp;
-