dos_compilers/Logitech Modula-2 v1.1/m.sh

15 lines
303 B
Bash
Raw Normal View History

2024-07-04 17:29:29 +02:00
str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.LOD 2>/dev/null
rm $str.LNK 2>/dev/null
rm $str.REF 2>/dev/null
rm $str.MAP 2>/dev/null
ntvdm -r:. -u m2 comp $str.mod /S- /R- /T-
ntvdm -r:. -u m2 link $str
ntvdm -r:. -u -p m2 $str.lod
rm $str.LNK 2>/dev/null
rm $str.REF 2>/dev/null
rm $str.MAP 2>/dev/null