create makefile script by python