

MAKEFILE=	Makefile

all:	readme
	@echo "Creating entire SPREMB distribution..."
	@cd source;	make
	@cd doc;	make

readme:
	nroff -ms READ_ME.troff > READ_ME

sged:
	@echo "Creating the sunview ``ged'' editor..."
	@cd source;	make sged

xged:
	@echo "Creating the x windows ``ged'' editor..."
	@cd source;	make xged

filters:
	@echo "Creating the SPREMB filters..."
	@cd source;	make filters

drawers:
	@echo "Creating the SPREMB drawers..."
	@cd source;	make drawers

translators:
	@echo "Creating the SPREMB translators..."
	@cd source;	make translators

testers:
	@echo "Creating the SPREMB testers..."
	@cd source;	make testers

generators:
	@echo "Creating the SPREMB generators..."
	@cd source;	make generators

docs:
	@echo "LaTeX-ing documentation..."
	@cd doc;	make

docprint:
	@echo "Printing documentation..."
	@cd doc;	make print

print:
	@echo "Printing documentation and ENTIRE source code..."
	@cd source;	make print
	@cd doc;	make print

clean:
	@echo "Removing object files..."
	@cd source;	make clean
	@cd doc;	make clean
	@echo "done"

clobber:
	@echo "Removing object and executable files..."
	@cd source;	make clobber
	@cd doc;	make clobber

tar:
	tar cvoFFf spremb.tar *
