linux build

This commit is contained in:
David Lee 2024-07-24 06:56:04 -07:00
parent 0faa42d811
commit be2316a97c

16
Microsoft COBOL v112/m.sh Normal file
View File

@ -0,0 +1,16 @@
str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.OBJ 2>/dev/null
rm $str.LST 2>/dev/null
rm $str.MAP 2>/dev/null
rm $str.EXE 2>/dev/null
ntvdm -u -r:. -h -c -d COBOL $str,$str,$str/D\;
ntvdm -u -h -c -r:. LINK $str,$str,$str,C:\;
rm $str.OBJ 2>/dev/null
rm $str.LST 2>/dev/null
rm $str.MAP 2>/dev/null
ntvdm -u -r:. -c -m $str