?? makeit.bat
字號:
@echo off
: -------------------------------
: if resources exist, build them
: -------------------------------
if not exist rsrc.rc goto over1
D:\MASM32\BIN\Rc.exe /v rsrc.rc
D:\MASM32\BIN\Cvtres.exe /machine:ix86 rsrc.res
:over1
if exist %1.obj del hexdump.obj
if exist %1.exe del hexdump.exe
: -----------------------------------------
: assemble hexdump.asm into an OBJ file
: -----------------------------------------
D:\MASM32\BIN\Ml.exe /c /coff hexdump.asm
if errorlevel 1 goto errasm
if not exist rsrc.obj goto nores
: --------------------------------------------------
: link the main OBJ file with the resource OBJ file
: --------------------------------------------------
D:\MASM32\BIN\Link.exe /SUBSYSTEM:WINDOWS hexdump.obj rsrc.obj
if errorlevel 1 goto errlink
dir hexdump.*
goto TheEnd
:nores
: -----------------------
: link the main OBJ file
: -----------------------
D:\MASM32\BIN\Link.exe /SUBSYSTEM:WINDOWS hexdump.obj
if errorlevel 1 goto errlink
dir hexdump.*
goto TheEnd
:errlink
: ----------------------------------------------------
: display message if there is an error during linking
: ----------------------------------------------------
echo.
echo There has been an error while linking this project.
echo.
goto TheEnd
:errasm
: -----------------------------------------------------
: display message if there is an error during assembly
: -----------------------------------------------------
echo.
echo There has been an error while assembling this project.
echo.
goto TheEnd
:TheEnd
pause
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -