forked from TrueCloudLab/frostfs-contract
Makefile: provide directory to contract compile
Allow to divide contract in multiple files. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
787bd3b63c
commit
0db7c4b1cb
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -14,7 +14,7 @@ mainnet_sc = neofs processing
|
|||
|
||||
define sc_template
|
||||
$(2)$(1)/$(1)_contract.nef: $(2)$(1)/$(1)_contract.go
|
||||
$(NEOGO) contract compile -i $(2)$(1)/$(1)_contract.go -c $(if $(2),$(2),$(1)/)config.yml -m $(2)$(1)/config.json
|
||||
$(NEOGO) contract compile -i $(2)$(1) -c $(if $(2),$(2),$(1)/)config.yml -m $(2)$(1)/config.json
|
||||
|
||||
$(if $(2),$(2)$(1)/$(1)_contract.go: alphabet/alphabet.go alphabet/alphabet.tpl
|
||||
go run alphabet/alphabet.go
|
||||
|
|
Loading…
Reference in a new issue