# illustrates how an external program produces data and how to plot them example1: make program make run gnuplot -persisttest.tex cat calog.tex>>test.tex echo '\end{document}'>>test.tex latex test.tex xdvi test.dvi clean: touch t.dat t.dvi t.tex randdata t.log t.aux t.ps rm *.dat rm *.dvi rm *.tex rm ./randdata rm *.log rm *.aux rm *.ps program: cc -lm -o randdata randdata.c run: ./randdata