mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
Fix clean to properly clean all stuff. Add cleanbin target.
This commit is contained in:
committed by
Luther Blissett
parent
f04e64344b
commit
dfd40679ec
10
Makefile
10
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
|
||||
|
||||
Reference in New Issue
Block a user