How to use openmp with os/x compilers?

@jeroen @jimhester How do I compile an R package with OpenMP enabled?

Thank you