CHIP6809.ps:	TOPPADS.ps BOT.ps topchan.ps CHIP6809.toal CHIP6809.build
		toal <CHIP6809.build

BOT.ps:		BOTRHS.ps LHSPADS.ps BOT.toal BOT.build
		toal <BOT.build

BOTRHS.ps:	Centre.ps RHSPADS.ps BOTRHS.toal BOTRHS.build
		toal <BOTRHS.build

Centre.ps:	totalchip.ps inputx8.ps chanPPx8.ps Centre.toal Centre.build
		toal <Centre.build

TOPPADS.ps:	INPAD.ps OUTPAD.ps VSS.ps CORNER.ps TOPPADS.build TOPPADS.toal
		toal <TOPPADS.build

VSS.ps:		VSS.out powpads.ps
		VSS.out

VSS.out:	VSS.mod
		mm2m VSS; make; rm makefile

RHSPADS.ps:	outputx8.ps inputx8.ps CORNER.ps rchan.ps \
		RHSPADS.build RHSPADS.toal
		toal <RHSPADS.build

LHSPADS.ps:	inputx8.ps CORNER.ps VDD.ps VddW.ps lchan.ps
		toal <LHSPADS.build

VDD.ps:		VDD.out powpads.ps
		VDD.out

VDD.out:	VDD.mod
		mm2m VDD; make; rm makefile

powpads.ps:	/mnt/graham/m6809/all/powpads.all powpads.build
		all <powpads.build

inputx8.ps:	inputx8.toal inputx8.build INPAD.ps
		toal <inputx8.build

outputx8.ps:	outputx8.toal outputx8.build OUTPAD.ps
		toal <outputx8.build

pads:		INPAD.ps OUTPAD.ps CORNER.ps
		echo heaps up to date

INPAD.ps:	INPAD.out TTLin.ps
		INPAD.out

INPAD.out:	INPAD.mod
		mm2m INPAD; make; rm makefile

OUTPAD.ps:	OUTPAD.out output.ps
		OUTPAD.out

OUTPAD.out:	OUTPAD.mod
		mm2m OUTPAD; make; rm makefile

CORNER.ps:	CORNER.out
		CORNER.out

CORNER.out:	CORNER.mod
		mm2m CORNER; make; rm makefile

TTLin.ps:	/mnt/graham/m6809/all/inpads.all TTLin.build
		all < TTLin.build

output.ps:	drivers.ps /mnt/graham/m6809/all/nbuffbits.all \
		/mnt/graham/m6809/all/pbuffbits.all \
		/mnt/graham/m6809/all/output.all \
		/mnt/graham/m6809/all/output.build
		all < /mnt/graham/m6809/all/output.build

drivers.ps:	/mnt/graham/m6809/all/drivers.all \
		/mnt/graham/m6809/all/drivers.build
		all < /mnt/graham/m6809/all/drivers.build

topchan.ps:	
		echo need topchan.mod

rchan.ps:	
		echo need rchan.ps

lchan.ps:	
		echo need lchan.ps
