Add makefile for mac.