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