Add missing Makefile for core subdir.