Use ParseConfig.
Add .o and executable to .gitignore.