.SUFFIXES:
.SUFFIXES: .xx .doc .man .ggg

%.man : %.xx
	${XTR} -e -o.man $<

%.doc : %.xx
	${XTR} -e -o.doc $<

%.ggg : %.xx
	${XTR} -e -o.ggg $<

XTR = a:\dos\xtr.exe
MAN = cdp.man cdump.man err.man nl.man tab2spc.man rconv.man tozen.man
DOC = ytools.doc
GGG = ytools.ggg

.PHONY: all
all : ${MAN} ${DOC} ${GGG}

ytools.ggg : ytools_g.xx
	${XTR} -e -o=ytools.ggg ytools_g.xx
