Makefiles are CASE-SENSITIVE. This has been gone over multiple times. "TARGET=mess" or "TARGET=mame", NOT "TARGET=MAME" or "TARGET=MESS".