#
# makefile for PDTSTNET for Turbo Make.  MS-Make loses. I'm using TASM 1.01
#
# Note: You need some asm-files from the Crynwr (former Clarkson) collection
# of packet drivers, available from oak.oakland.edu, ftp.funet.fi,
# wuarchive.wustl.edu, and others, in the ...msdos/pktdrvr directory.

ASM	=	tasm
LINK	=	tlink

all:		progs

progs:		pdclkset.com

pdtstnet.doc: ..\pdtstnet.doc
	copy ..\pdtstnet.doc .

.asm.obj:
		$(ASM) $*;

pdclkset.obj:	pdclkset.asm settime.inc settime.asm ip.inc ip.asm \
		arp.inc arp.asm bufs.inc bufs.asm movesb.asm pdtstnet.doc \
		pktdr.asm ping.inc ping.asm tblbuild.inc tblbuild.asm \
		defs.asm chrout.asm pkterr.asm 
#
# (the files on the last line above are from the Crynwr packet driver 
#  collection, available at oak.oakland.edu:pub/msdos/pktdrvr)

pdclkset.com: pdclkset.obj
	$(LINK) pdclkset,pdclkset/m;
	exe2bin pdclkset
	copy pdclkset.bin *.com
	del pdclkset.exe
	del pdclkset.bin

clean: nul
	del *.obj
	del *.com
	del *.exe
	del *.map
