Add Python to Rust example
This commit is contained in:
9
python-to-rust/Makefile
Normal file
9
python-to-rust/Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
all: target/libdouble_input.so
|
||||
python src/main.py
|
||||
|
||||
target/libdouble_input.so: src/lib.rs Cargo.toml
|
||||
cargo build
|
||||
(cd target && ln -nsf debug/libdouble_input-* libdouble_input.so)
|
||||
|
||||
clean:
|
||||
rm -rf target
|
||||
Reference in New Issue
Block a user