BLDALL.BAT
上传用户:haohao_zhu
上传日期:2014-08-15
资源大小:2446k
文件大小:1k
- @echo off
- if not exist rsrc.rc goto over1
- masm32binrc /v rsrc.rc
- masm32bincvtres /machine:ix86 rsrc.res
- :over1
- if exist %1.obj del %1.obj
- if exist %1.exe del %1.exe
- masm32binml /c /coff %1.asm
- if errorlevel 1 goto errasm
- if not exist rsrc.obj goto nores
- masm32binLink /section:mysection,ERW /SUBSYSTEM:WINDOWS %1.obj rsrc.obj
- if errorlevel 1 goto errlink
- dir %1.*
- goto TheEnd
- :nores
- masm32binLink /section:mysection,ERW /SUBSYSTEM:WINDOWS %1.obj
- if errorlevel 1 goto errlink
- dir %1
- goto TheEnd
- :errlink
- echo _
- echo Link error
- goto TheEnd
- :errasm
- echo _
- echo Assembly Error
- goto TheEnd
- :TheEnd
- pause