Explorar o código

Makefile: Rebuild binaries on source code changes.

parazyd %!s(int64=4) %!d(string=hai) anos
pai
achega
a597b4bd18
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      Makefile

+ 2 - 4
Makefile

@@ -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/$@ $@