[#113] Makefile: Fix after NNS contract introduction

Without -o flag neo-go compiles contracts into
`out.nef` file in the repository root.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
enable-notary-in-public-chains
Alex Vanin 2021-07-22 16:12:59 +03:00 committed by Alex Vanin
parent c7ed05cc2e
commit 6633ec108b
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ nns_sc = nns
define sc_template
$(2)$(1)/$(1)_contract.nef: $(2)$(1)/$(1)_contract.go
$(NEOGO) contract compile -i $(2)$(1) -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 -o $(2)$(1)/$(1)_contract.nef
$(if $(2),$(2)$(1)/$(1)_contract.go: alphabet/alphabet.go alphabet/alphabet.tpl
go run alphabet/alphabet.go