From bede1093b19a9a81f8fcdd8f1cf963cadc589464 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Wed, 30 Oct 2019 15:29:40 -0700 Subject: [PATCH] Rebuild when lib def changes --- zecwallet-lite.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zecwallet-lite.pro b/zecwallet-lite.pro index 509837b..c067fb5 100644 --- a/zecwallet-lite.pro +++ b/zecwallet-lite.pro @@ -147,6 +147,8 @@ else:win32: librust.target = $$PWD/lib/target/x86_64-pc-windows-gnu/release/z unix: librust.commands = $(MAKE) -C $$PWD/lib else:win32: librust.commands = $(MAKE) -C $$PWD/lib winrelease +librust.depends = lib/Cargo.toml lib/src/lib.rs + librustclean.commands = "rm -rf $$PWD/lib/target" distclean.depends += librustclean