I don't see what value this provides. It does globbing for
files to build, and still requires manually listing the files.
emacs by default creates backup files in the same directory if you
make changes without saving, resulting in really irritating
build errors from the "found unknown source file .#Foo.cpp"
I also don't think it's consistently used, since this
doesn't seems to happen for some subset of directories.
While regexs are a bit heavy handed, i think this is simpler as:
Otherwise, this looks fine.