mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-20 13:54:36 +01:00
cln-rpc: Update the Makefile to always rebuild each example when the example files themselves are changed
and to rebuild all the examples when the dependencies are changed (`CLN_RPC_SOURCES`).
This commit is contained in:
parent
c6262189b7
commit
dfa326ed9f
1 changed files with 3 additions and 3 deletions
|
@ -8,13 +8,13 @@ DEFAULT_TARGETS += $(CLN_RPC_EXAMPLES) $(CLN_RPC_GENALL)
|
|||
|
||||
MSGGEN_GENALL += $(CLN_RPC_GENALL)
|
||||
|
||||
target/${RUST_PROFILE}/examples/cln-rpc-getinfo: $(shell find cln-rpc -name *.rs)
|
||||
target/${RUST_PROFILE}/examples/cln-rpc-getinfo: ${CLN_RPC_SOURCES} cln-rpc/examples/getinfo.rs
|
||||
cargo build ${CARGO_OPTS} --example cln-rpc-getinfo
|
||||
|
||||
target/${RUST_PROFILE}/examples/cln-plugin-startup: plugins/examples/cln-plugin-startup.rs
|
||||
target/${RUST_PROFILE}/examples/cln-plugin-startup: ${CLN_RPC_SOURCES} plugins/examples/cln-plugin-startup.rs
|
||||
cargo build ${CARGO_OPTS} --example cln-plugin-startup
|
||||
|
||||
target/${RUST_PROFILE}/examples/cln-plugin-reentrant: plugins/examples/cln-plugin-reentrant.rs
|
||||
target/${RUST_PROFILE}/examples/cln-plugin-reentrant: ${CLN_RPC_SOURCES} plugins/examples/cln-plugin-reentrant.rs
|
||||
cargo build ${CARGO_OPTS} --example cln-plugin-reentrant
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue