update Emakefile

provide a template for compiling on OSX vs Ubuntu