From 12ac658016c2805ab422e3576716d1285b957b9f Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 08:52:31 -0700 Subject: [PATCH] linux build --- Manx Aztec C86 v340a/CODE/m.sh | 2 +- Manx Aztec C86 v42b/code/m.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 Manx Aztec C86 v42b/code/m.sh diff --git a/Manx Aztec C86 v340a/CODE/m.sh b/Manx Aztec C86 v340a/CODE/m.sh index a7810ea..be3569d 100644 --- a/Manx Aztec C86 v340a/CODE/m.sh +++ b/Manx Aztec C86 v340a/CODE/m.sh @@ -4,7 +4,7 @@ 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 +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 diff --git a/Manx Aztec C86 v42b/code/m.sh b/Manx Aztec C86 v42b/code/m.sh new file mode 100644 index 0000000..be3569d --- /dev/null +++ b/Manx Aztec C86 v42b/code/m.sh @@ -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