diff --git a/GRRLIB/lib/install.bat b/GRRLIB/lib/install.bat index 61e786b..359fc01 100644 --- a/GRRLIB/lib/install.bat +++ b/GRRLIB/lib/install.bat @@ -9,6 +9,7 @@ echo Installing JPEG Library... echo. cd jpeg make install + if errorlevel 1 goto error cd .. Rem -- PNG & PNGU libraries @@ -18,6 +19,7 @@ echo Installing PNG Library... echo. cd png make install + if errorlevel 1 goto error cd .. echo. @@ -26,7 +28,9 @@ echo Building PNGU Library... echo. cd pngu make clean + if errorlevel 1 goto error make all + if errorlevel 1 goto error cd .. echo. @@ -35,9 +39,15 @@ echo Installing PNGU Library... echo. cd pngu make install + if errorlevel 1 goto error cd .. -Rem -- The End echo. echo Done +goto end +:error +echo. +echo Installation Failed! +:end +Rem -- The End echo.