Update .gitignore files to ignore the target directory(s)