You'll need to get a compiler. The easiest way is probably to install XCode development environment from the CDs/DVDs you got with your Mac, which will give you gcc.
Then you should be able compile it like
gcc -o mybinaryfile mysourcefile.c
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…