linux build

This commit is contained in:
David Lee 2024-07-24 07:15:16 -07:00
parent c3811fa6fe
commit c3a8faa221

View File

@ -0,0 +1,18 @@
str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.EXE 2>/dev/null
rm $str.LST 2>/dev/null
rm $str.MAP 2>/dev/null
rm $str.OBJ 2>/dev/null
rm $str.GRP 2>/dev/null
ntvdm -u -r:. -h -c COBOL $str,$str,$str,$str
ntvdm -u -h -c -r:. LINK $str,,$str,lcobol.lib,nul.def
rm $str.LST 2>/dev/null
rm $str.MAP 2>/dev/null
rm $str.OBJ 2>/dev/null
rm $str.GRP 2>/dev/null
ntvdm -u -c $str