update Makefile and setup.py