Makefile: Rebuild binaries on source code changes.

This commit is contained in:
parazyd
2021-10-20 11:07:32 +02:00
parent 1ff6255c0b
commit a597b4bd18

View File

@@ -9,13 +9,11 @@ DLTOOL = wget -nv --show-progress -O-
#DLTOOL = curl
# Here it's possible to append "cashierd" and "gatewayd".
BINS = \
drk \
darkfid
BINS = drk darkfid
all: $(BINS) uid confdir mint.params spend.params
$(BINS):
$(BINS): $(shell find src -type f)
$(CARGO) build --release --all-features --bin $@
cp target/release/$@ $@