| 1 | .PHONY: all |
| 2 | |
| 3 | all: GC_bench_non_opt.pdf GC_bench_full.pdf GC_bench_incr.pdf GC_bench_opt.pdf GC_bench.pdf Resources.pdf |
| 4 | |
| 5 | GC_bench_non_opt.pdf: GC_bench_non_opt.plt boehm_full.txt boehm_incr.txt |
| 6 | gnuplot $< |
| 7 | @echo "$@ created" |
| 8 | |
| 9 | GC_bench_full.pdf: GC_bench_full.plt boehm_full.txt boehm_full_opt.txt |
| 10 | gnuplot $< |
| 11 | @echo "$@ created" |
| 12 | |
| 13 | GC_bench_incr.pdf: GC_bench_incr.plt boehm_incr.txt boehm_incr_opt.txt |
| 14 | gnuplot $< |
| 15 | @echo "$@ created" |
| 16 | |
| 17 | GC_bench_opt.pdf: GC_bench_opt.plt boehm_full_opt.txt boehm_incr_opt.txt |
| 18 | gnuplot $< |
| 19 | @echo "$@ created" |
| 20 | |
| 21 | GC_bench.pdf: GC_bench.plt boehm_full.txt boehm_incr_opt.txt |
| 22 | gnuplot $< |
| 23 | @echo "$@ created" |
| 24 | |
| 25 | Resources.pdf: Resources.plt resources.txt |
| 26 | gnuplot $< |
| 27 | @echo "$@ created" |
| 28 | |
| 29 | boehm_full.txt: GC_bench_full |
| 30 | sync |
| 31 | sleep 1 |
| 32 | ./$< > $@ |
| 33 | |
| 34 | boehm_incr.txt: GC_bench_incr |
| 35 | sync |
| 36 | sleep 1 |
| 37 | ./$< > $@ |
| 38 | |
| 39 | boehm_full_opt.txt: GC_bench_full_opt |
| 40 | sync |
| 41 | sleep 1 |
| 42 | ./$< > $@ |
| 43 | |
| 44 | boehm_incr_opt.txt: GC_bench_incr_opt |
| 45 | sync |
| 46 | sleep 1 |
| 47 | ./$< > $@ |
| 48 | |
| 49 | GC_bench_full: GC_bench.v |
| 50 | v -prod -gc boehm_full -o $@ $< |
| 51 | |
| 52 | GC_bench_incr: GC_bench.v |
| 53 | v -prod -gc boehm_incr -o $@ $< |
| 54 | |
| 55 | GC_bench_full_opt: GC_bench.v |
| 56 | v -prod -gc boehm_full_opt -o $@ $< |
| 57 | |
| 58 | GC_bench_incr_opt: GC_bench.v |
| 59 | v -prod -gc boehm_incr_opt -o $@ $< |
| 60 | |
| 61 | clean: |
| 62 | rm -f boehm_full.txt boehm_incr.txt boehm_full_opt.txt boehm_incr_opt.txt \ |
| 63 | GC_bench_non_opt.pdf GC_bench_full.pdf GC_bench_incr.pdf \ |
| 64 | GC_bench_opt.pdf GC_bench.pdf Resources.pdf \ |
| 65 | GC_bench_full GC_bench_incr GC_bench_full_opt GC_bench_incr_opt \ |
| 66 | GC_bench.svg Resources.svg |
| 67 | |