makefile; python friendly interfaces