# Custom make file generated by nmaker for nmaker.exe
# This is the make file I used to compile the nmaker program
# This file was created with the command line: nmaker nmaker.exe>nmaker.

## This file is somewhat modifed however.  the DEBUG definition
## and the !UNDEF  !IFDEF ... !ELSE ... !ENDIF lines were all
## added.  All the normal macros were copied and set for a
## 'release' version.  The LIBS macro was redefined to LIBS=sutil
## so that my sutil library could be found.

TARGET = nmaker.exe

all:	$(TARGET)

DEBUG = /DDEBUG
!UNDEF DEBUG
!IFDEF DEBUG
CC = cl
CFLAGS = /qc /Zi /Od /c /W3
CDEFS =  
MC = masm
MFLAGS = /Zi
MDEFS = 
LINK = link
LFLAGS =  /CO
LMAP = $*
LIBS = sutil
!ELSE
CC = cl
CFLAGS = /Gs /Oxzt /c /W3
CDEFS =  
MC = masm
MFLAGS = 
MDEFS = 
LINK = link
LFLAGS = 
LMAP = 
LIBS = sutil
!ENDIF
HDRS = nmaker.h 
SRCS = nmakecfg.c nmaker.c nmakerhp.c 
OBJS = nmakecfg.obj nmaker.obj nmakerhp.obj  

nmakecfg.obj:	nmakecfg.c nmaker.h 
	$(CC) $(CFLAGS) $(CDEFS) nmakecfg.c

nmaker.obj:	nmaker.c nmaker.h 
	$(CC) $(CFLAGS) $(CDEFS) nmaker.c

nmakerhp.obj:	nmakerhp.c 
	$(CC) $(CFLAGS) $(CDEFS) nmakerhp.c

$(TARGET):	$(OBJS) $(SRCS) $(HDRS)
	$(LINK) @<<
$(OBJS)
$(TARGET) $(LFLAGS)
$(LMAP)
$(LIBS)
;
<<NOKEEP
