nmake install fails with invalid option

When building your custom C/C++ checker with nmake install, you see the message "NMAKE : fatal error U1065: invalid option '-". This error means that a MAKEFLAGS environment variable is set for your IDE.

To resolve this problem, check the MAKEFLAGS environment variable and clear it with set MAKEFLAGS=. Then rebuild your checker with nmake install.