dos_compilers/Borland Turbo C v1/m.sh

12 lines
177 B
Bash
Raw Permalink Normal View History

2024-07-04 16:57:31 +02:00
str=$(tr '[a-z]' '[A-Z]' <<< $1)
2024-07-04 00:55:16 +02:00
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