Yes, emake has a "noautodep" pragma which allows you to specify files to exclude from autodepend. You add it immediately before the target that you want the exclusion to apply to. The pragma takes an argument which is a glob-style pattern. Any files that match the pattern will be excluded from autodep consideration. For example:
#pragma noautodep */.git/*
# do stuff that might access files in .git.