anchor.diff:  if errorlevel 1 %RETURN%
   :# Update the PATH for running Visual Studio tools, from definitions set in %CONFIG.BAT%
   set PATH=!%MAKEORIGIN%_PATH!
  -if not defined MAKE set "MAKE=!%MAKEORIGIN%_CC:CL.EXE=nmake.exe!" &:# Includes enclosing quotes
  +if not defined MAKE for %%m in (nmake.exe) do set "MAKE="%%~$PATH:m"" &:# Includes enclosing quotes
   %ECHOVARS.D% CD MESSAGES OUTDIR MAKEORIGIN PATH INCLUDE %MAKEORIGIN%_CC
   set "NMAKEFLAGS=/NOLOGO /c /s"
   %IF_VERBOSE% set "NMAKEFLAGS=/NOLOGO"
  
positive.code: :#   2017-03-01 JFL Added variable IGNORE_NMAKEFILE for dealing with unwanted *
  :#                  NMakefile homonyms.                                       *
  :#   2017-03-05 JFL Added variable LOGDIR to control where to store the log.  *
  :#                                                                            *
  :#       Copyright 2016-2017 Hewlett Packard Enterprise Development LP       *
  :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 *
  :#*****************************************************************************
  
  setlocal EnableExtensions EnableDelayedExpansion
  set "VERSION=2017-03-05"
  set "SCRIPT=%~nx0"				&:# Script name
  set "SPATH=%~dp0" & set "SPATH=!SPATH:~0,-1!"	&:# Script path, without the trailing \
  set  "ARG0=%~f0"				&:# Script full pathname
  
negative.code:   %ECHOVARS.D% GOAL
    :# If there's still no goal, use the current directory name.
    if not defined GOAL set "GOAL=!CD0!"
    %ECHOVARS.D% GOAL LOGDIR
    :# Rename %LOGFILE% after the %GOAL%, and display the build log.
    set LOGFILE2=!GOAL!.log
    if not defined LOGDIR if defined OUTDIR set "LOGDIR=%OUTDIR%"
    if defined LOGDIR set "LOGFILE2=!LOGDIR!\!LOGFILE2!"
    if not "!LOGFILE2!"=="!LOGFILE!" (
      if exist "!LOGFILE2!" del "!LOGFILE2!"
      move "!LOGFILE!" "!LOGFILE2!" >nul
  