@echo Testing for nmake availability ...
@echo all: tempm2 >tempmake
@echo.>>tempmake
@echo tempm2: tempmake>>tempmake
@echo  @copy tempmake tempm2 \>nul >>tempmake
@call nmake /nologo /f tempmake all >nul
@set TEMPERR=%ERRORLEVEL%
@if ERRORLEVEL 1 goto NONMAKE
@echo Appears NMAKE is ok ...
@goto END

:NONMAKE
@echo Appeare NMAKE.EXE is NOT in your PATH ...
@echo Are you running in the MSVC command prompt?
@pause
@goto END

:END
@if EXIST tempmake del tempmake >nul
@if EXIST tempm2 del tempm2 >nul

