linux build

This commit is contained in:
David Lee 2024-07-04 08:52:31 -07:00
parent f9d236fac4
commit 12ac658016
2 changed files with 11 additions and 1 deletions

View File

@ -4,7 +4,7 @@ rm $str.O 2>/dev/null
rm $str.EXE 2>/dev/null rm $str.EXE 2>/dev/null
ntvdm -u -r:.. -e:include=c:\\include,path=c:\\bin ..\\bin\\cc -DAZTEC86 +F +A $str.c ntvdm -u -r:.. -e:include=c:\\include,path=c:\\bin ..\\bin\\cc -DAZTEC86 +F +A $str.c
rm ctmp* 2>dev/null rm ctmp* 2>/dev/null
ntvdm -u -r:.. -e:lib=c:\\lib ..\\bin\\ln $str c:\\lib\\m.lib c:\\lib\\c.lib ntvdm -u -r:.. -e:lib=c:\\lib ..\\bin\\ln $str c:\\lib\\m.lib c:\\lib\\c.lib
rm $str.O 2>/dev/null rm $str.O 2>/dev/null

View File

@ -0,0 +1,10 @@
str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.O 2>/dev/null
rm $str.EXE 2>/dev/null
ntvdm -u -r:.. -e:include=c:\\include,path=c:\\bin ..\\bin\\cc -DAZTEC86 +F +A $str.c
rm ctmp* 2>/dev/null
ntvdm -u -r:.. -e:lib=c:\\lib ..\\bin\\ln $str c:\\lib\\m.lib c:\\lib\\c.lib
rm $str.O 2>/dev/null