make.bat
来自「这是一个数字图像处理的matlab仿真程序」· Batch 代码 · 共 43 行
BAT
43 行
@echo off
echo Build ALL for Dynamic Link Library
if not exist rsrc.rc goto over1
\masm32\bin\rc /v rsrc.rc
\masm32\bin\cvtres /machine:ix86 rsrc.res
:over1
if exist MyCom2.dll del MyCom2.dll
if exist MyCom2.obj del MyCom2.obj
\masm32\bin\ml /c /Fl /Sn /coff MyCom2.asm /Sa
if errorlevel 1 goto errasm
if not exist rsrc.obj goto nores
echo Resources were found
\masm32\bin\Link /DLL /SUBSYSTEM:WINDOWS /DEF:MyCom2.def /LIBPATH:c:\masm32\lib MyCom2.obj rsrc.obj
if errorlevel 1 goto errlink
goto TheEnd
:nores
echo No resources found
\masm32\bin\Link /DLL /SUBSYSTEM:WINDOWS /DEF:MyCom2.def /LIBPATH:c:\masm32\lib MyCom2.obj
if errorlevel 1 goto errlink
goto TheEnd
:errlink
echo _
echo >> Link error
goto alldone
:errasm
echo _
echo >> Assembly Error
goto alldone
:TheEnd
echo GOOD BUILD
dir MyCom2
:alldone
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?