TEXSRC=	Snotes.sty \
	R.tex \
	arrays.tex \
	auto.tex \
	factors.tex \
	editor.tex \
	exercises.tex \
	functions.tex \
	graphics.tex \
	intro.tex \
	lists.tex \
	loops.tex \
	models.tex \
	multifig.tex \
	objects.tex \
	parfig.tex \
	parfig2.tex \
	preface.tex \
	reading.tex \
	session.tex \
	simple.tex

dvi:	$(TEXSRC)
	latex R.tex

ps2:
	dvips -f R.dvi | mpage -2 -P -A > R.ps2

clean:
	rm -f *.aux *.dvi *.log *.toc TAGS
