diff options
-rw-r--r-- | nix-rust/local.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nix-rust/local.mk b/nix-rust/local.mk index c147f9874..ed1e640c9 100644 --- a/nix-rust/local.mk +++ b/nix-rust/local.mk @@ -17,3 +17,8 @@ $(d)/target/$(RUST_DIR)/libnixrust.a: $(wildcard $(d)/src/*.rs) $(d)/Cargo.toml && touch target/$(RUST_DIR)/libnixrust.a dist-files += $(d)/vendor + +clean: clean-rust + +clean-rust: + $(suppress) rm -rfv nix-rust/target |