### -*-makefile-*- all:: clean:: .PHONY: all clean PWD := $(shell pwd) LISPS = sbcl ccl ecl clisp cmucl abcl RUNLISP = $(HOME)/src/runlisp/build/runlisp REPORTS = $(addprefix report., $(LISPS)) clean::; rm -f $(REPORTS) $(REPORTS): report.%: collect.lisp bench.asd bench.lisp benchspt.c cl-launch -X -S $(PWD): -s bench -l $* -- $< >$@.new && mv $@.new $@ PLOTS = $(patsubst %,plot-%.tex, $(LISPS)) clean:: rm -f $(PLOTS) $(PLOTS): plot-%.tex: report.% plot.gp gnuplot -e "file = '$<'" plot.gp >$@.new && mv $@.new $@ all:: collect.pdf clean::; rm -f collect.pdf collect.pdf: collect.tex $(PLOTS) pdflatex $<