Files
rust-ffi-examples/python-to-rust/Makefile
2015-04-19 10:44:03 -07:00

10 lines
204 B
Makefile

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