From 5d4eec691b87c2758cf99590d3224802cbd871ad Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Fri, 18 Sep 2009 22:55:49 +0000 Subject: [PATCH] [CHG] Library installation script is improved (batch file) --- GRRLIB/lib/install.bat | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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.