TARGET=wrapper

all: sweave tex

sweave:
	echo "library(tools); Sweave(\"aRT.Rnw\")" | R --no-save --no-restore

tex:
	latex $(TARGET).tex
	latex $(TARGET).tex

clean:
	rm $(TARGET).tex *.log *.blg *.dvi *.pdf *.ps *.bb* *.aux *.eps

   
