anchor.diff:  :SHOWHELP
   TITLE "build.cmd %1"
   ECHO.
  -ECHO:Usage:  build.cmd [Clean^|Build^|Rebuild]
  +ECHO:Usage:  build.cmd [Clean^|Build^|Rebuild] [x86^|x64^|all]
   ECHO.
   ECHO:Edit "build.cmd" and set your WDK and SDK directories.
   ECHO:You shouldn't need to make any changes other than that.
   ECHO.
  -ECHO:Executing "build.cmd" will use the defaults: "build.bat Build"
  +ECHO:Executing "build.cmd" will use the defaults: "build.bat build all"
   ECHO.
   ENDLOCAL
   EXIT /B
  
positive.code: REM Check for the switches
  IF "%1" == "" (
  SET BUILDTYPE=Build
  ) ELSE (
  IF /I "%1" == "Build" SET BUILDTYPE=Build&&GOTO :START
  IF /I "%1" == "/Build" SET BUILDTYPE=Build&&GOTO :START
  IF /I "%1" == "-Build" SET BUILDTYPE=Build&&GOTO :START
  IF /I "%1" == "--Build" SET BUILDTYPE=Build&&GOTO :START
  IF /I "%1" == "Clean" SET BUILDTYPE=Clean&&GOTO :START
  IF /I "%1" == "/Clean" SET BUILDTYPE=Clean&&GOTO :START
  IF /I "%1" == "-Clean" SET BUILDTYPE=Clean&&GOTO :START
  IF /I "%1" == "--Clean" SET BUILDTYPE=Clean&&GOTO :START
  IF /I "%1" == "Rebuild" SET BUILDTYPE=Rebuild&&GOTO :START
  IF /I "%1" == "/Rebuild" SET BUILDTYPE=Rebuild&&GOTO :START
  IF /I "%1" == "-Rebuild" SET BUILDTYPE=Rebuild&&GOTO :START
  IF /I "%1" == "--Rebuild" SET BUILDTYPE=Rebuild&&GOTO :START
  ECHO.
  ECHO:Unsupported commandline switch!
  ECHO:Run "build.cmd help" for details about the commandline switches.
  CALL :SUBMSG "ERROR" "Compilation failed!"
  )
  
  
  
negative.code: EXIT /B
  
  
  :SUBNMAKE
  nmake /NOLOGO /f "makefile.mak" %~1 %2
  IF %ERRORLEVEL% NEQ 0 CALL :SUBMSG "ERROR" "Compilation failed!"
  EXIT /B
  
  