I got this error while (re)building, using cygwin make.exe version :3.81.
Error : *** target pattern contains no `%\'.
I had this problem on Linux when the build directory contained a ":" caused by doing a mercurial checkout which created a directory named "server:port".