From 40663ccdbcad321a504b6ac1079fb669f9eae0b3 Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 08:57:00 -0700 Subject: [PATCH] linux build --- Manx Aztec C86 v52a/code/m.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Manx Aztec C86 v52a/code/m.sh diff --git a/Manx Aztec C86 v52a/code/m.sh b/Manx Aztec C86 v52a/code/m.sh new file mode 100644 index 0000000..88eb55a --- /dev/null +++ b/Manx Aztec C86 v52a/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\\libs\\m.lib c:\\lib\\libs\\c.lib + +rm $str.O 2>/dev/null