#
# SCSI Stuff
#
SRCS = scsi.asm subs.asm ioctl.asm dump.asm units.asm kludge.asm \
       options.inc equ.inc struct.inc

all: scsi.sys sformat.exe mt.exe

#
# SCSI Disk Device Driver
#
scsi.sys: scsi.obj
	link +scsi.obj, scsi ;
	exe2bin scsi.exe scsi.sys

scsi.obj: $(SRCS)
	masm scsi.asm scsi.obj scsi.lst ;

#
# SCSI Disk Formatter
#
sformat.exe: sformat.c
	cl -G2 -Ox -o sformat.exe sformat.c

#
# SCSI Tape Erase
#
mt.exe: mt.c
	cl -G2 -Ox -o mt.exe mt.c

#
# clean
#
clean:
	rm -f *.exe *.obj *.lst
