xref: /freebsd/contrib/bearssl/mk/mkT0.sh (revision 5b20c5e1f8d59f14901f0c0e4b6b577eaa3f9569)
1#! /bin/sh
2
3CSC=$(which mono-csc || which dmcs || echo "none")
4
5if [ $CSC = "none" ]; then
6	echo "Error: Please install mono-devel."
7	exit 1
8fi
9
10set -e
11$CSC /out:T0Comp.exe /main:T0Comp /res:T0/kern.t0,t0-kernel T0/*.cs
12