Fix the Makefile, update rules for Objective-C instead of C. Amazing that the Makefile worked at all...

Add clang-format target.
Add .gitignore based on .hgignore.
Add *.xcworkspace to ignore.