game.bat
上传用户:caisangzi8
上传日期:2013-10-25
资源大小:15756k
文件大小:1k
- echo off
- if "%1" == "16" goto start
- if "%1" == "32" goto start
- if "%1" == "" goto bad_parameter
- goto bad_parameter
- REM===================================================================
- :bad_parameter
- echo **********************
- echo bad parameter
- echo for 16m, usage: game 16
- echo for 32m, usage: game 32
- echo **********************
- cd game
- goto end
- REM===================================================================
- :start
- del mipsel-elflibgame_8202.a
- del game*.a
- cd game
- make
- copy libgame.a ..mipsel-elflibgame_8202.a
- if not exist libgame.a goto failed
- goto end
- REM ======================================
- :failed
- echo *************************
- echo failed on generating libgame.a
- REM ======================================
- :end
- cd..