FWIW: I just ran into the same error message. turned out the fancy Makefile wants to compile all *.cpp source files and I had cut and paste one of them: "file (2).cpp" and the fancy Makefile wasn't fancy enough to parse its own substitution output.
So all -include and all % substitutions could cause this.