# 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..\..\h
CFLAGS= /W3 /ASw /G2 /Gs /Oil /nologo $(INCLUDES)
AFLAGS = /ML /Z /T $(INCLUDES)
CC     = cl
ASM    = masm

all:	pkt.net

pkt.net: pglue.obj mbinit.obj arp.obj pkglue.obj packet.obj
	link /nologo /nod /map pglue+mbinit+pkglue+arp+packet,pkt.net;

clean:
	rm -f *.lst *.obj *.bak *.map pkt.net

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

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