dos_compilers/Microsoft QuickBASIC v1/m.sh

18 lines
305 B
Bash
Raw Normal View History

2024-07-04 23:12:47 +02:00
str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.EXE 2>/dev/null
rm $str.MAP 2>/dev/null
rm $str.OBJ 2>/dev/null
rm $str.LST 2>/dev/null
ntvdm -r:. -u -c bascom $str.bas,,,\;
ntvdm -r:. -u -c link $str,,$str,,,\;
rm $str.MAP 2>/dev/null
rm $str.OBJ 2>/dev/null
rm $str.LST 2>/dev/null
ntvdm -r:. -u -c $str