dos_compilers/Digital Research PLI-86 v1/m.sh

14 lines
283 B
Bash
Raw Normal View History

2024-07-06 21:19:58 +02:00
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