Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. go: performance-graph.pdf
  2. xpdf performance-graph.pdf
  3. performance-graph.pdf: performance-numbers.db gen-performance-graph
  4. ./gen-performance-graph
  5. .PRECIOUS: performance-numbers.db
  6. performance-numbers.db: test-bloom-filter
  7. ./this-pylint bloom_filter_mod.py test-bloom-filter
  8. rm -f seek.txt array.txt hybrid.txt mmap.txt
  9. #/usr/local/pypy-1.7/bin/pypy ./test-bloom-filter --performance-test
  10. /usr/bin/python ./test-bloom-filter --performance-test
  11. #/usr/local/cpython-3.2/bin/python ./test-bloom-filter
  12. #/usr/local/cpython-2.5/bin/python ./test-bloom-filter
  13. #/usr/local/cpython-2.7/bin/python ./test-bloom-filter
  14. #/usr/local/cpython-3.0/bin/python ./test-bloom-filter
  15. #/usr/local/jython-2.5.2-r7288/bin/jython ./test-bloom-filter
  16. clean:
  17. rm -f *.pyc *.class
  18. rm -rf __pycache__
  19. rm -f bloom-filter-rm-me
  20. rm -f *.ps *.pdf
  21. rm -f seek.txt array.txt
  22. rm -rf dist build drs_bloom_filter.egg-info
  23. veryclean: clean
  24. rm -f performance-numbers.db
  25. register:
  26. # Once
  27. python setup.py register
  28. publish:
  29. # Each new version
  30. python setup.py sdist upload