@echo off
rem For TASM.  Can also use MASM - see MAKECMD.BAT
rem set NODIRS=/dNODIRS
rem set CMD_PROMPT=/dCMD_PROMPT
set OPT=/zi/m/w
tasm cmdedit  %NODIRS% %CMD_PROMPT% %OPT%;
tasm cmdmacro %NODIRS% %CMD_PROMPT% %OPT%;
tasm dirs     %NODIRS% %CMD_PROMPT% %OPT%;
tasm edit     %NODIRS% %CMD_PROMPT% %OPT%;
tasm history  %NODIRS% %CMD_PROMPT% %OPT%;
tasm install  %NODIRS% %CMD_PROMPT% %OPT%;
tasm strstack %NODIRS% %CMD_PROMPT% %OPT%;
tasm utl      %NODIRS% %CMD_PROMPT% %OPT%;
rem the module `install' must be the last one in the link command!
if not "%NODIRS%"=="" tlink /m /v cmdedit+cmdmacro+dirs+edit+history+strstack+utl+install;
if "%NODIRS%"=="" tlink /m /v cmdedit+cmdmacro+edit+history+strstack+utl+install;
tdstrip -s -c cmdedit.exe
