dos_compilers/Microsoft QuickC v1/BIN/m.sh
2024-07-04 14:56:13 -07:00

14 lines
310 B
Bash

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