aboutsummaryrefslogtreecommitdiff
path: root/nix-rust/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-27 17:33:59 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-27 17:33:59 +0100
commit895ce1bb6cc77324c377baa08eb98666768e5c6d (patch)
tree629c6a5291b1d1faf54f81492ccbd0fb08febac8 /nix-rust/local.mk
parentf553a8bdea96afe18b97dee6eba91c0bbc545b79 (diff)
make clean: Delete nix-rust/target
Diffstat (limited to 'nix-rust/local.mk')
-rw-r--r--nix-rust/local.mk5
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