diff --git a/rust/Makefile.am b/rust/Makefile.am index cb16e021f..b41e71712 100644 --- a/rust/Makefile.am +++ b/rust/Makefile.am @@ -35,6 +35,9 @@ if HAVE_RUST all: $(srcdir)/src/lib.rs $(top_builddir)/run $(CARGO) build --release +clean-local: + $(top_builddir)/run $(CARGO) clean + TESTS = run-bindtests run-tests CLEANFILES += target/*~