dos_compilers/Borland Turbo C v1/m.sh
2024-07-04 07:57:31 -07:00

12 lines
177 B
Bash

str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.OBJ 2>/dev/null
rm $str.COM 2>/dev/null
ntvdm -u tcc -f -mm -G -O -DDOSTIME -Z -N- $str.c
ntvdm -c -p $str
rm $str.OBJ 2>/dev/null