makeit.bat

来自「这是一个数字图像处理的matlab仿真程序」· Batch 代码 · 共 45 行

BAT
45
字号
@echo off

: ------------------------------
: set the environment variables
: ------------------------------
set BIN=\MASM32\BIN\
set INCLUDE=\MASM32\INCLUDE\
set LIB=\MASM32\LIB\

: --------------------
: build the resources
: --------------------
%BIN%rc.exe /v rsrc.rc

: --------------------------------------------------
: build the response file from the modules required
: --------------------------------------------------
echo altbuild.asm > assemble.rsp
echo paint.asm >> assemble.rsp
echo topxy.asm >> assemble.rsp

: -------------------------
: assemble the source file
: -------------------------
%BIN%ml.exe /c /coff @assemble.rsp

: ----------------------------------------------
: build the link response file
: NOTE that the main project file MUST be first
: ----------------------------------------------
echo altbuild.obj > link.rsp
echo paint.obj >> link.rsp
echo topxy.obj >> link.rsp

: --------------------------------------------
: link the object module and set the lib path
: NOTE the RES file is handled by LINK.EXE.
: It automatically calls CVTRES.EXE.
: --------------------------------------------
%BIN%Link.exe /SUBSYSTEM:WINDOWS /LIBPATH:%LIB% @link.rsp rsrc.res

dir altbuild.*

pause

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?