mk.bat
来自「Due to an increase in demand for and que」· Batch 代码 · 共 24 行
BAT
24 行
@echo off
if "%OS%"=="Windows_NT" goto nt
rem I have three compilers (gosh it's nice). To keep my DOS
rem environment uncluttered I use only one at a time. Which
rem one is current is determined by the environment variables
rem as you can see below. This batch file makes it easy to
rem compile and test d_disk without too much typing...
if not "%WATCOM%"=="" wmake -f makefile.wcl %1 %2 %3 %4 %5
if not "%DJGPP%"=="" make -fmakefile.gcc %1 %2 %3 %4 %5
if not "%MSVC%"=="" nmake -f makefile.msc %1 %2 %3 %4 %5
if not "%MSDEVDIR%"=="" nmake -f makefile.msc %1 %2 %3 %4 %5
goto end
:nt
if not "%WATCOM%"=="" wmake -f makefile.wnt %1 %2 %3 %4 %5
if not "%DJGPP%"=="" make -fmakefile.gnt %1 %2 %3 %4 %5
if not "%MSVC%"=="" nmake -f makefile.mnt %1 %2 %3 %4 %5
if not "%MSDEVDIR%"=="" nmake -f makefile.mnt %1 %2 %3 %4 %5
:end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?