Add *.d to .gitignore.
Add ALL the CFLAGS. And fixed some silliness where it created files named after gcc arguments.