14 lines
356 B
Bash
14 lines
356 B
Bash
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
|
|
|
|
ntvdm -u -r:.. -e:path=c:\\bin ../bin/ztc $str.c -Ic:\\include -ms -c -DDOSTIME
|
|
ntvdm -u -r:.. -e:path=c:\\bin,lib=c:\\lib ../bin/blink ct+$str, $str, $str, ZLs.LIB /noi \;
|
|
|
|
rm $str.MAP 2>/dev/null
|
|
rm $str.OBJ 2>/dev/null
|
|
|
|
ntvdm -r:. -u -c -p $str
|