anchor.diff:  set "MAKEGOALS="
   set "MAKEORIGIN=WIN32"
   
  -set "LOGFILE=make.log"	&:# Temporary name for the log file. Will be renamed later after the actual goal. 
  +set "LOGFILE=make.log"	&:# Temporary name for the log file. Will be renamed later after the actual goal.
  +if not "%OUTDIR%"=="" set "LOGFILE=%OUTDIR%\%LOGFILE%"
   
   :next_arg
   %POPARG%
  
positive.code: set "LASTGOAL="
  set "MAKEARGS=/x -"
  set "NEEDMAKEFILE="
  goto :get_ra
  :next_ra
  %POPARG%
  
negative.code: if "%GOAL%"=="" goto SkipRename
  :# Normal goal. Rename %LOGFILE%, and display the build log.
  if not "%GOAL%"=="" set LOGFILE2=%GOAL%.log
  if not "%OUTDIR%"=="" set "LOGFILE2=%OUTDIR%\%LOGFILE2%"
  if not "%LOGFILE2%"=="%LOGFILE%" (
    if exist "%LOGFILE2%" del "%LOGFILE2%"
    move "%LOGFILE%" "%LOGFILE2%" >nul
    set "LOGFILE=%LOGFILE2%"
  )
  :SkipRename
  