mgame to Makefile