Im just curious...but how would you make a MAC OS executable?

im guessing its completely different from windows coding on a pc