diff --git a/src/contract/consensus/Makefile b/src/contract/consensus/Makefile index 754aeed5c..0e344bcb7 100644 --- a/src/contract/consensus/Makefile +++ b/src/contract/consensus/Makefile @@ -13,8 +13,8 @@ PROOFS_BIN = $(PROOFS_SRC:=.bin) # wasm source files WASM_SRC = \ $(shell find src -type f) \ - $(shell find ../../sdk -type f) \ - $(shell find ../../serial -type f) + $(shell find ../../sdk -type f -name '*.rs') \ + $(shell find ../../serial -type f -name '*.rs') # wasm contract binary WASM_BIN = consensus_contract.wasm diff --git a/src/contract/dao/Makefile b/src/contract/dao/Makefile index 5f54bc9c9..db6f68a32 100644 --- a/src/contract/dao/Makefile +++ b/src/contract/dao/Makefile @@ -13,8 +13,8 @@ PROOFS_BIN = $(PROOFS_SRC:=.bin) # wasm source files WASM_SRC = \ $(shell find src -type f) \ - $(shell find ../../sdk -type f) \ - $(shell find ../../serial -type f) + $(shell find ../../sdk -type f -name '*.rs') \ + $(shell find ../../serial -type f -name '*.rs') # wasm contract binary WASM_BIN = dao_contract.wasm diff --git a/src/contract/deployooor/Makefile b/src/contract/deployooor/Makefile index ca2f850f2..489ec5a44 100644 --- a/src/contract/deployooor/Makefile +++ b/src/contract/deployooor/Makefile @@ -13,8 +13,8 @@ PROOFS_BIN = $(PROOFS_SRC:=.bin) # wasm source files WASM_SRC = \ $(shell find src -type f) \ - $(shell find ../../sdk -type f) \ - $(shell find ../../serial -type f) + $(shell find ../../sdk -type f -name '*.rs') \ + $(shell find ../../serial -type f -name '*.rs') # wasm contract binary WASM_BIN = deployooor_contract.wasm diff --git a/src/contract/money/Makefile b/src/contract/money/Makefile index d97dbf82b..9e23fec40 100644 --- a/src/contract/money/Makefile +++ b/src/contract/money/Makefile @@ -13,8 +13,8 @@ PROOFS_BIN = $(PROOFS_SRC:=.bin) # wasm source files WASM_SRC = \ $(shell find src -type f) \ - $(shell find ../../sdk -type f) \ - $(shell find ../../serial -type f) + $(shell find ../../sdk -type f -name '*.rs') \ + $(shell find ../../serial -type f -name '*.rs') # wasm contract binary WASM_BIN = money_contract.wasm