some simplification and customization made in the make system