linux build

This commit is contained in:
David Lee 2024-07-04 09:21:01 -07:00
parent 40663ccdbc
commit 0c38f4a042
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.O 2>/dev/null
rm $str.EXE 2>/dev/null
ntvdm -t -u -r:.. "-e:CCHEAD=@C:\lib\cc -f -DMWC" ..\\bin\\cc $str.c -lm
rm $str.O 2>/dev/null