Makefile for osx

added makefile for osx