Add c# to rust example

This commit is contained in:
Wesley Hill
2019-11-18 14:40:16 +00:00
parent feb818539b
commit abca643dd4
5 changed files with 39 additions and 0 deletions

9
csharp-to-rust/Makefile Normal file
View File

@@ -0,0 +1,9 @@
all: target/debug/libdouble_input
csc src/double.cs
mono ./double.exe
target/debug/libdouble_input: src/lib.rs Cargo.toml
rustc --crate-name double_input src/lib.rs --crate-type cdylib -o libdouble_input
clean:
rm -rf target double.exe