updated the makefile for mhd