all: us a4

us:
	cd US ; make

a4:
	cd A4 ; make

textonly:
	cd Textonly ; make

tutorial:
	cd US ; make tutorial.ps
	cd A4 ; make tutorial.ps
	cd Textonly ; make tutorial.ps

archive:
	/bin/rm -f cc-tut.tar.gz
	tar cvf cc-tut.tar title.tex preface.tex chap*.tex solution.tex lit.bib
	tar rvf cc-tut.tar US/tutorial.tex A4/tutorial.tex US/lit.bib A4/lit.bib
	tar rvf cc-tut.tar Textonly/tutorial.tex Textonly/lit.bib
	tar rvf cc-tut.tar FIGS/*eps FIGS/*fig US/FIGS A4/FIGS Textonly/FIGS
	tar rvf cc-tut.tar Makefile US/Makefile A4/Makefile Textonly/Makefile
	gzip cc-tut.tar

clean:
	/bin/rm -f cc-tut.tar.gz
	cd US ; make clean
	cd A4 ; make clean
	cd Textonly ; make clean
