Also, while the existing script has problems with parallel makes, your version has even worse problems. You might want to fix that. I've made those changes. If there aren't any other comments, I'll check the new cgen.sh in tomorrow. Ben