makefiles and shell scripts for building