eth-accounts-index/solidity/Makefile

12 lines
356 B
Makefile
Raw Normal View History

2021-01-10 20:40:29 +01:00
SOLC = /usr/bin/solc
all:
2021-01-10 20:40:29 +01:00
$(SOLC) --bin AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.bin
truncate -s -1 AccountsIndex.bin
2021-01-10 20:40:29 +01:00
$(SOLC) --abi AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.json
install: all
2023-02-05 05:54:50 +01:00
cp -v *"json" ../python/eth_accounts_index/data/
cp -v *"bin" ../python/eth_accounts_index/data/