mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
updated Makefile to work with workspaces
This commit is contained in:
4
Makefile
4
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:
|
||||
|
||||
Reference in New Issue
Block a user