makefile for all of core updated