add makefile for mac os