anchor.diff:  %ECHOVARS.D% CD MESSAGES OUTDIR
   :# Update the PATH for running Visual Studio tools, from definitions set in %CONFIG.BAT%
   set PATH=!%MAKEORIGIN%_PATH!
  -if not defined NMAKE set "NMAKE=!%MAKEORIGIN%_CC:CL.EXE=nmake.exe!" &:# Includes enclosing quotes
  +if not defined MAKE set "MAKE=!%MAKEORIGIN%_CC:CL.EXE=nmake.exe!" &:# Includes enclosing quotes
   set "NMAKEFLAGS=/NOLOGO /c /s"
   %IF_VERBOSE% set "NMAKEFLAGS=/NOLOGO"
   :# Clear a few multi-line variables that pollute the (nmake /P) logs
   for %%v in (LF1 LF2 LF3 LF4 LF5 MACRO /MACRO ON_MACRO_EXIT FUNCTION RETURN) do set "%%v="
  -%EXEC% %NMAKE% %NMAKEFLAGS% /F %MAKEFILE% %*
  +%EXEC% %MAKE% %NMAKEFLAGS% /F %MAKEFILE% %*
   exit /b
   
   :#-----------------------------------------------------------------------------
  
positive.code:     :# Gotcha: The exit code does not survive the 'sub-shell' return. So test it inside, and change the sub-shell output.
      :# Gotcha: Testing variables in the subshell requires three pairs of ^. So use if errorlevel 1.
      for /f "delims=" %%g in (
        '%NMAKE% /nologo /s /c /f %MAKEFILE% /x - goal_name 2^>NUL ^& if errorlevel 1 echo :'
      ) do set "GOAL=%%g"
      :# ":" is an impossible goal name, flagging the absence of target "goal_name" in the makefile.
      if "!GOAL!"==":" set "GOAL="
  
negative.code: 
  :# Now run nmake
  set RESULT=Success
  if not defined MAKE set "MAKE=!%MAKEORIGIN%_CC:CL.EXE=nmake.exe!" &:# Includes enclosing quotes
  :# set CMD=%MAKE% /f %MAKEFILE% /x - %NMAKEFLAGS% %MAKEDEFS% %MAKEGOALS%
  set CMD=%MAKE% %NMAKEFLAGS% MESSAGES=1 %MAKEARGS%
  setlocal &:# Clear a few multi-line variables that pollute the (nmake /P) logs
  for %%v in (LF1 LF2 LF3 LF4 LF5 MACRO /MACRO ON_MACRO_EXIT FUNCTION RETURN) do set "%%v="
  %EXEC% %CMD%
  