Procházet zdrojové kódy

Makefile: Rebuild binaries on source code changes.

parazyd před 4 roky
rodič
revize
a597b4bd18
1 změnil soubory, kde provedl 2 přidání a 4 odebrání
  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/$@ $@