diff options
Diffstat (limited to 'MSVC/Tools/MakInDir.bat')
-rw-r--r-- | MSVC/Tools/MakInDir.bat | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/MSVC/Tools/MakInDir.bat b/MSVC/Tools/MakInDir.bat index 6c28109..d20cba5 100644 --- a/MSVC/Tools/MakInDir.bat +++ b/MSVC/Tools/MakInDir.bat @@ -1,27 +1,27 @@ -@echo off
-
-if "%2" == "" echo.
-if "%2" == "" echo USAGE: MakInDir [Directory] [Target]
-if "%2" == "" echo ------ Directory: directory to run NMAKE within
-if "%2" == "" echo ------ Target: the target of the NMAKE session
-if "%2" == "" goto done
-
-cd %1
-echo on
-nmake /f nmakefile /nologo %2
-@echo off
-if errorlevel 0 goto finish else goto bomb
-
-:bomb
-if "%OS%" == "" goto Win9xbomb else goto NTbomb
-
-:Win9xbomb
-exit
-
-:NTbomb
-exit 1
-
-:finish
-cd ..
-
-:done
+@echo off + +if "%2" == "" echo. +if "%2" == "" echo USAGE: MakInDir [Directory] [Target] +if "%2" == "" echo ------ Directory: directory to run NMAKE within +if "%2" == "" echo ------ Target: the target of the NMAKE session +if "%2" == "" goto done + +cd %1 +echo on +nmake /f nmakefile /nologo %2 +@echo off +if errorlevel 0 goto finish else goto bomb + +:bomb +if "%OS%" == "" goto Win9xbomb else goto NTbomb + +:Win9xbomb +exit + +:NTbomb +exit 1 + +:finish +cd .. + +:done |