Przeglądaj źródła

Makefile: Pass target variables to inner darkirc Makefile.

This should be done for other bins as well when not lazy.
parazyd 2 lat temu
rodzic
commit
25d919ea91
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -57,7 +57,11 @@ faucetd: contracts
 	$(MAKE) -C bin/faucetd
 
 darkirc:
-	$(MAKE) -C bin/darkirc
+	$(MAKE) -C bin/darkirc \
+		PREFIX="$(PREFIX)" \
+		CARGO="$(CARGO)" \
+		RUST_TARGET="$(RUST_TARGET)" \
+		RUSTFLAGS="$(RUSTFLAGS)"
 
 genev:
 	$(MAKE) -C bin/genev/genev-cli