# Author: Brad Clements, bkc@omnigate.clarkson.edu   
# 1/28/89
# This makefile requires using the make program that comes w/ turbo C 2.0
# assumes you are using masm, not tasm. Change the -E of cflags if you want
# also assumes tlink 
#
INCLUDES = /I..
CFLAGS= /W3 /AS /G2 /Gs /Oil /nologo ${INCLUDES}
AFLAGS = /ML /Z /T ${INCLUDES}
CC     = cl
ASM    = masm

bwtcp.net: init.obj main.obj socket.obj error.obj
	link /nologo /nod /noi /map init+main+socket+error,bwtcp.net;

clean:
	rm -f *.lst *.obj *.bak

.asm.obj:
	$(ASM) $(AFLAGS) $*,$*,nul;

.c.asm:
	$(CC) -c $(CFLAGS) /Fs /Fa $*.c
