
#   ************************************************************************
#   *			   Makefile for DISKHOOK.EXE			   *
#   ************************************************************************

#   The target is a DOS program written for compilation with Microsoft
#   Visual C++ version 1.52.

#   The project has no requirements of the PATH, INCLUDE and LIB variables
#   beyond the normal ones for the compiler and linker.

#   If using the NMAKE from Visual C++ 1.52 and building under Windows 95,
#   remember to run NMAKER since the ordinary NMAKE will not stop on errors.

#   ========================================================================

#   Tools

CC = cl
LINK = link

#   Preferred command-line switches

CFLAGS = /Oxs /W3

#   The default (increasing alphabetical) ordering of the .SUFFIXES list
#   does not account for the possibility that .ASM files may have been
#   produced by compiling .C files.  This may leave NMAKE trying to assemble
#   a .ASM file instead of compiling the .C file (even when the makefile
#   shows explicitly a dependence of a .OBJ file on the .C file).  Reorder
#   the .SUFFIXES list to avoid this silliness.

.SUFFIXES :
.SUFFIXES : .c .asm

#   ========================================================================

ALL : CLEAR TARGETS

CLEAR :
  set $(CC)=
  set $(LINK)=

#   ************************************************************************

TARGETS : diskhook.exe

diskhook.obj : diskhook.c intpack.h memstrat.h standard.h

memstrat.obj : memstrat.c memstrat.h standard.h

diskhook.exe : diskhook.obj memstrat.obj
  link diskhook.obj+memstrat.obj,diskhook.exe;

