From 85b531511d7aa33d5f30083b4cb77c89297d7a1c Mon Sep 17 00:00:00 2001 From: lunar-mining Date: Mon, 10 Jan 2022 11:57:04 +0100 Subject: [PATCH] updated Makefile to work with workspaces --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 43bec4a7e..9fc74c174 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ PREFIX = /usr/local CARGO = cargo # Binaries to be built -BINS = drk darkfid gatewayd +BINS = drk darkfid gatewayd # Dependencies which should force the binaries to be rebuilt BINDEPS = \ @@ -19,7 +19,7 @@ BINDEPS = \ all: $(BINS) $(BINS): $(BINDEPS) - $(CARGO) build --release --all-features --bin $@ + $(CARGO) build --workspace --release --all-features cp -f target/release/$@ $@ test: