From 823b87e349a5b109813bdebba67ac876f4827fc6 Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 15:47:42 -0700 Subject: [PATCH] linux build --- Zortech C++ v206/{code => CODE}/E.C | 0 Zortech C++ v206/{code => CODE}/SIEVE.C | 0 Zortech C++ v206/{code => CODE}/TM.C | 0 Zortech C++ v206/{code => CODE}/TTT.C | 0 Zortech C++ v206/{code => CODE}/m.bat | 0 Zortech C++ v206/CODE/m.sh | 13 +++++++++++++ 6 files changed, 13 insertions(+) rename Zortech C++ v206/{code => CODE}/E.C (100%) rename Zortech C++ v206/{code => CODE}/SIEVE.C (100%) rename Zortech C++ v206/{code => CODE}/TM.C (100%) rename Zortech C++ v206/{code => CODE}/TTT.C (100%) rename Zortech C++ v206/{code => CODE}/m.bat (100%) create mode 100644 Zortech C++ v206/CODE/m.sh diff --git a/Zortech C++ v206/code/E.C b/Zortech C++ v206/CODE/E.C similarity index 100% rename from Zortech C++ v206/code/E.C rename to Zortech C++ v206/CODE/E.C diff --git a/Zortech C++ v206/code/SIEVE.C b/Zortech C++ v206/CODE/SIEVE.C similarity index 100% rename from Zortech C++ v206/code/SIEVE.C rename to Zortech C++ v206/CODE/SIEVE.C diff --git a/Zortech C++ v206/code/TM.C b/Zortech C++ v206/CODE/TM.C similarity index 100% rename from Zortech C++ v206/code/TM.C rename to Zortech C++ v206/CODE/TM.C diff --git a/Zortech C++ v206/code/TTT.C b/Zortech C++ v206/CODE/TTT.C similarity index 100% rename from Zortech C++ v206/code/TTT.C rename to Zortech C++ v206/CODE/TTT.C diff --git a/Zortech C++ v206/code/m.bat b/Zortech C++ v206/CODE/m.bat similarity index 100% rename from Zortech C++ v206/code/m.bat rename to Zortech C++ v206/CODE/m.bat diff --git a/Zortech C++ v206/CODE/m.sh b/Zortech C++ v206/CODE/m.sh new file mode 100644 index 0000000..7e3b9b1 --- /dev/null +++ b/Zortech C++ v206/CODE/m.sh @@ -0,0 +1,13 @@ +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 + +ntvdm -r:.. -u -e:path=c:\\bin,lib=c:\\lib ../bin/ztc $str.c -Ic:\\include -ms -c -DDOSTIME +ntvdm -r:.. -u -e:path=c:\\bin,lib=c:\\lib ../bin/blink ct+$str, $str, $str, ZLs.LIB /noi /m\; + +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null + +ntvdm -r:. -u -p $str