[CHG] Library installation script is improved (batch file)

This commit is contained in:
Crayon2000 2009-09-18 22:55:49 +00:00
parent 42b1a60bdb
commit 5d4eec691b

View file

@ -9,6 +9,7 @@ echo Installing JPEG Library...
echo. echo.
cd jpeg cd jpeg
make install make install
if errorlevel 1 goto error
cd .. cd ..
Rem -- PNG & PNGU libraries Rem -- PNG & PNGU libraries
@ -18,6 +19,7 @@ echo Installing PNG Library...
echo. echo.
cd png cd png
make install make install
if errorlevel 1 goto error
cd .. cd ..
echo. echo.
@ -26,7 +28,9 @@ echo Building PNGU Library...
echo. echo.
cd pngu cd pngu
make clean make clean
if errorlevel 1 goto error
make all make all
if errorlevel 1 goto error
cd .. cd ..
echo. echo.
@ -35,9 +39,15 @@ echo Installing PNGU Library...
echo. echo.
cd pngu cd pngu
make install make install
if errorlevel 1 goto error
cd .. cd ..
Rem -- The End
echo. echo.
echo Done echo Done
goto end
:error
echo.
echo Installation Failed!
:end
Rem -- The End
echo. echo.