dos_compilers/Microsoft Fortran v5/m.sh
2024-07-04 11:43:04 -07:00

11 lines
221 B
Bash

str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.EXE 2>/dev/null
rm $str.OBJ 2>/dev/null
ntvdm -u -r:. -e:include=include,init=bin,path=bin,lib=lib,tmp=tmp bin\\fl /FPc /Ot $str.for
rm $str.OBJ 2>/dev/null
ntvdm -u -r:. $str