dos_compilers/Digital Research PLI-86 v1/m.sh
2024-07-06 12:19:58 -07:00

14 lines
283 B
Bash

str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.EXE 2>/dev/null
rm $str.OBJ 2>/dev/null
rm $str.SYM 2>/dev/null
ntvdm -r:. -u pli.exe $str \$L \$I
ntvdm -r:. -u link86 $str,plilib.l86,pcdio.obj,div2.obj,fdiv2.obj
rm $str.OBJ 2>/dev/null
rm $str.SYM 2>/dev/null
ntvdm -r:. -u -c -p $str