fix the errors in Makefile in ma_c