linux build

This commit is contained in:
David Lee 2024-07-04 14:12:47 -07:00
parent 82e352c89f
commit a54607622a
2 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,5 @@
ntvdm -c bascom %1.bas,,,
ntvdm -c link %1,,%1,.\,nul.def
ntvdm -c bascom %1.bas,,,;
ntvdm -c link %1,,%1,,,;
ntvdm %1

View File

@ -0,0 +1,17 @@
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
rm $str.LST 2>/dev/null
ntvdm -r:. -u -c bascom $str.bas,,,\;
ntvdm -r:. -u -c link $str,,$str,,,\;
rm $str.MAP 2>/dev/null
rm $str.OBJ 2>/dev/null
rm $str.LST 2>/dev/null
ntvdm -r:. -u -c $str