From 0c38f4a042bba46b2f73b9b9d752ea28efe0d07b Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 09:21:01 -0700 Subject: [PATCH] linux build --- Mark Williams MWC v311/{ccargs => CCARGS} | 0 Mark Williams MWC v311/{tmp => TMP}/foo.txt | 0 Mark Williams MWC v311/code/m.sh | 8 ++++++++ 3 files changed, 8 insertions(+) rename Mark Williams MWC v311/{ccargs => CCARGS} (100%) rename Mark Williams MWC v311/{tmp => TMP}/foo.txt (100%) create mode 100644 Mark Williams MWC v311/code/m.sh diff --git a/Mark Williams MWC v311/ccargs b/Mark Williams MWC v311/CCARGS similarity index 100% rename from Mark Williams MWC v311/ccargs rename to Mark Williams MWC v311/CCARGS diff --git a/Mark Williams MWC v311/tmp/foo.txt b/Mark Williams MWC v311/TMP/foo.txt similarity index 100% rename from Mark Williams MWC v311/tmp/foo.txt rename to Mark Williams MWC v311/TMP/foo.txt diff --git a/Mark Williams MWC v311/code/m.sh b/Mark Williams MWC v311/code/m.sh new file mode 100644 index 0000000..f82be5a --- /dev/null +++ b/Mark Williams MWC v311/code/m.sh @@ -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