dos_compilers/Microsoft Fortran v5/m.sh

11 lines
221 B
Bash
Raw Normal View History

2024-07-04 20:43:04 +02:00
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