Up till now I've used version control for simple web-based projects that don't really have a compile stage. I've now forked a relatively large project that follows the standard "./configure; make; make install" pattern. I'm unsure about the proper workflow for this type of project.
What do I do with all the created files from the compile process?
- Add lots of stuff to .gitignore? This is hard, because I did not create the build process and do not really understand everything that is created.
- Checkout the project somewhere else for each build? This seems like a pain, given that I often build every few minutes.
- Just make sure never to add something I don't know about, i.e. never do
git add .
If so, how do I cleanup now and then?
Obviously this is something everybody who deals with compiled code faces, so I'm sure there's an accepted pattern, I just am not familiar with it yet.