linux build

This commit is contained in:
David Lee 2024-07-04 15:47:42 -07:00
parent 58c713dc24
commit 823b87e349
6 changed files with 13 additions and 0 deletions

View File

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