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 aRT.tex *.{log,blg,dvi,pdf,ps,out,aux,eps} *.bb* 

   
