add Makefile to mac-os-x branch.