gitignore: added .gitignore for C development

Added C.gitignore. Added MacOS specific restrictions for generated files