simplyfing the core make file