# Makefile for Microport V.386 with the Postscript support utilities.
#
# Please modify as appropriate for your installation.
#
ROFF	=	troff
NTERM	=	-Tps	# Postscript.
POST	=	| devps -r
SRC	=	Makefile *.mm *.s *.txt

# Swap next two lines if you dont have -mm package
#MAC	=	-man mm2man.s
MAC	=	-mm

all:	alloc.out llist.out splay.out
	
alloc.out:	alloc.mm
	$(ROFF) $(NTERM) $(MAC) alloc.mm $(POST) > alloc.out
	
llist.out:	llist.mm
	$(ROFF) $(NTERM) $(MAC) llist.mm $(POST) > llist.out

splay.out:	splay.mm
	$(ROFF) $(NTERM) $(MAC) splay.mm $(POST) > splay.out

dist:
	sccs update < /dev/null
dist-list:
	@echo $(SRC)
