eth-contract-registry/solidity/Makefile

11 lines
285 B
Makefile
Raw Normal View History

SOLC = /usr/bin/solc
all:
$(SOLC) --bin Registry.sol --evm-version byzantium | awk 'NR>3' > Registry.bin
truncate -s -1 Registry.bin
$(SOLC) --abi Registry.sol --evm-version byzantium | awk 'NR>3' > Registry.json
install: all
cp -v *{json,bin} ../python/contract_registry/data/