Browse Source

darkirc: Only build the rust bin with the make target

parazyd 2 years ago
parent
commit
a94858174a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/darkirc/Makefile

+ 1 - 1
bin/darkirc/Makefile

@@ -32,7 +32,7 @@ $(PROOFS_BIN): $(ZKAS) $(PROOFS_SRC)
 	$(ZKAS) $(basename $@) -o $@
 	$(ZKAS) $(basename $@) -o $@
 
 
 $(BIN): $(PROOFS_BIN) $(SRC)
 $(BIN): $(PROOFS_BIN) $(SRC)
-	RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) build --target=$(RUST_TARGET) --release --package $@
+	RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) build --target=$(RUST_TARGET) --release --package $@ --bin $@
 	cp -f ../../target/$(RUST_TARGET)/release/$@ $@
 	cp -f ../../target/$(RUST_TARGET)/release/$@ $@
 	cp -f ../../target/$(RUST_TARGET)/release/$@ ../../$@
 	cp -f ../../target/$(RUST_TARGET)/release/$@ ../../$@