all: report.pdf plots = by-freq.pdf linear-filter.pdf by-num-noise.pdf report.pdf: report.tex $(plots) pdflatex $< %.pdf: %.dat %.gnu gnuplot -e 'datasrc="$<"' -e 'filename="$@"' $*.gnu clean: rm report.aux report.log report.pdf $(plots) .PHONY: all clean