Add .gitignore files to ignore compilations.