convert the OS X build script in makefile commands
update man page