add core to makefiles