diff --git a/Makefile b/Makefile index 277b1ea22..fff9f74cf 100644 --- a/Makefile +++ b/Makefile @@ -65,9 +65,15 @@ test: token_lists zkas $(PROOFS_BIN) test-tx test-tx: zkas RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) run --release --features=node,zkas --example tx -clean: +cleanbin: rm -f $(BINS) +clean: cleanbin + @for i in $(BINS); \ + do \ + RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) clean $i; \ + done; + install: @for i in $(BINS); \ do \ @@ -87,4 +93,4 @@ uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/$$i; \ done; -.PHONY: all check fix clippy rustdoc test test-tx clean install uninstall +.PHONY: all check fix clippy rustdoc test test-tx clean cleanbin install uninstall