makefile for mdc code