dos_compilers/Microsoft QuickC v251/BIN/m.sh
2024-07-04 15:11:41 -07:00

11 lines
216 B
Bash

str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.EXE 2>/dev/null
rm $str.OBJ 2>/dev/null
ntvdm -u -r:. -f -e:include=..\\include,lib=..\\lib qcl /Gs /Ox /DDOSTIME $str.c
rm $str.OBJ 2>/dev/null
ntvdm -u -r:. -c -p $str