From 895ce1bb6cc77324c377baa08eb98666768e5c6d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 27 Nov 2019 17:33:59 +0100 Subject: [PATCH] make clean: Delete nix-rust/target --- nix-rust/local.mk | 5 +++++ 1 file changed, 5 insertions(+) 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