create makefile to build the package