eth-accounts-index/solidity/Makefile
2021-01-10 20:40:29 +01:00

11 lines
311 B
Makefile

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