linux build

This commit is contained in:
David Lee 2024-07-04 09:26:16 -07:00
parent ab6bb1fe97
commit 63eee4b223
2 changed files with 8 additions and 0 deletions

View File

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