dos_compilers/Microsoft C v203/m.sh

13 lines
255 B
Bash
Raw Permalink Normal View History

2024-07-04 18:40:33 +02:00
str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.OBJ 2>/dev/null
rm $str.MAP 2>/dev/null
rm $str.EXE 2>/dev/null
ntvdm -r:. -u mc1 $str
ntvdm -r:. -u mc2 $str
ntvdm -r:. -u link $str + cs + gettm,, $str.map, mcs
rm $str.OBJ 2>/dev/null
rm $str.MAP 2>/dev/null