2021-01-10 22:03:26 +01:00
|
|
|
SOLC = /usr/bin/solc
|
|
|
|
|
2023-03-21 18:03:09 +01:00
|
|
|
all: address_declarator
|
2021-10-04 09:14:51 +02:00
|
|
|
|
|
|
|
address_declarator:
|
2021-01-10 22:03:26 +01:00
|
|
|
$(SOLC) AddressDeclarator.sol --abi --evm-version byzantium | awk 'NR>3' > AddressDeclarator.json
|
|
|
|
$(SOLC) AddressDeclarator.sol --bin --evm-version byzantium | awk 'NR>3' > AddressDeclarator.bin
|
2023-03-21 18:03:09 +01:00
|
|
|
$(SOLC) AddressDeclarator.sol --metadata --evm-version byzantium | awk 'NR>3' > AddressDeclarator.metadata.json
|
2020-12-29 16:08:49 +01:00
|
|
|
truncate -s -1 AddressDeclarator.bin
|
2021-01-10 22:03:26 +01:00
|
|
|
|
|
|
|
install: all
|
2023-03-21 18:03:09 +01:00
|
|
|
cp -v *.json ../python/eth_address_declarator/data/
|
|
|
|
cp -v *.bin ../python/eth_address_declarator/data/
|
2020-12-21 23:00:45 +01:00
|
|
|
|
2021-01-10 22:03:26 +01:00
|
|
|
.PHONY: test install
|