mirror of
git://holbrook.no/eth-faucet
synced 2024-12-12 16:06:09 +01:00
14 lines
494 B
Makefile
14 lines
494 B
Makefile
SOLC = /usr/bin/solc
|
|
|
|
all:
|
|
$(SOLC) --bin EthFaucet.sol --evm-version byzantium | awk 'NR>3' > EthFaucet.bin
|
|
truncate -s -1 EthFaucet.bin
|
|
$(SOLC) --abi EthFaucet.sol --evm-version byzantium | awk 'NR>3' > EthFaucet.json
|
|
$(SOLC) --bin PeriodSimple.sol --evm-version byzantium | awk 'NR>3' > PeriodSimple.bin
|
|
truncate -s -1 PeriodSimple.bin
|
|
$(SOLC) --abi PeriodSimple.sol --evm-version byzantium | awk 'NR==4' > PeriodSimple.json
|
|
|
|
install: all
|
|
cp -v *{json,bin} ../python/eth_faucet/data/
|
|
|