dstromberg 13 years ago
parent
commit
fb6077fdbc
1 changed files with 9 additions and 4 deletions
  1. 9 4
      Makefile

+ 9 - 4
Makefile

@@ -2,12 +2,14 @@
 go: performance-graph.pdf
 	xpdf performance-graph.pdf
 
-performance-graph.pdf: array.txt seek.txt gen-performance-graph
-	./gen-performance-graph > performance-graph.pdf
+performance-graph.pdf: performance-numbers.db gen-performance-graph
+	./gen-performance-graph
 
-array.txt seek.txt: test-bloom-filter
+.PRECIOUS: performance-numbers.db
+
+performance-numbers.db: test-bloom-filter
 	./this-pylint bloom_filter_mod.py test-bloom-filter
-	rm -f seek.txt array.txt
+	rm -f seek.txt array.txt hybrid.txt mmap.txt
 	/usr/local/pypy-1.6/bin/pypy ./test-bloom-filter
 	#/usr/local/cpython-3.2/bin/python ./test-bloom-filter
 	#/usr/local/cpython-2.5/bin/python ./test-bloom-filter
@@ -22,3 +24,6 @@ clean:
 	rm -f *.ps *.pdf
 	rm -f seek.txt array.txt
 
+veryclean: clean
+	rm -f performance-numbers.db
+