Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. go: performance-graph.pdf
  2. evince performance-graph.pdf
  3. performance-graph.pdf: performance-numbers.db gen-performance-graph
  4. ./gen-performance-graph
  5. performance-numbers.db: test-bloom-filter
  6. ./this-pylint \
  7. --ignore-message ".*Unable to import 'dbm'" \
  8. --ignore-message ".*Unable to import 'anydbm'" \
  9. --to-pylint bloom_filter_mod.py test-bloom-filter
  10. rm -f seek.txt array.txt hybrid.txt mmap.txt
  11. #/usr/local/pypy-2.3.1/bin/pypy ./test-bloom-filter --performance-test
  12. /usr/local/pypy-2.3.1/bin/pypy ./test-bloom-filter
  13. /usr/local/cpython-3.4/bin/python ./test-bloom-filter
  14. /usr/local/cpython-2.5/bin/python ./test-bloom-filter
  15. #/usr/local/cpython-2.7/bin/python ./test-bloom-filter
  16. #/usr/local/cpython-3.0/bin/python ./test-bloom-filter
  17. /usr/local/jython-2.7b3/bin/jython ./test-bloom-filter
  18. clean:
  19. rm -f *.pyc *.class
  20. rm -rf __pycache__
  21. rm -f bloom-filter-rm-me
  22. rm -f *.ps *.pdf
  23. rm -f seek.txt array.txt
  24. rm -rf dist build bloom_filter.egg-info
  25. rm -f performance-numbers
  26. veryclean: clean
  27. rm -f performance-numbers.db
  28. rm -f performance-numbers
  29. build:
  30. python setup.py sdist bdist_wheel