Use MakeGen to write make file