Files
rust-ffi-examples/csharp-to-rust/Makefile
2019-11-18 14:40:16 +00:00

10 lines
242 B
Makefile

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