New Makefile structure; added compatibility with Windows + Visual C + nmake.
[BearSSL] / mk / mkT0.sh
diff --git a/mk/mkT0.sh b/mk/mkT0.sh
new file mode 100755 (executable)
index 0000000..61de5c6
--- /dev/null
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+CSC=$(which mono-csc || which dmcs || echo "none")
+
+if [ $CSC = "none" ]; then
+       echo "Error: Please install mono-devel."
+       exit 1
+fi
+
+set -e
+$CSC /out:T0Comp.exe /main:T0Comp /res:T0/kern.t0,t0-kernel T0/*.cs