Fix clean to properly clean all stuff. Add cleanbin target.

This commit is contained in:
Christoph Lohmann
2022-10-02 15:44:19 +02:00
committed by Luther Blissett
parent f04e64344b
commit dfd40679ec

View File

@@ -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