Makefile (557B)
1 SOLC = /usr/bin/solc 2 3 all: address_declarator 4 5 address_declarator: 6 $(SOLC) AddressDeclarator.sol --abi --evm-version byzantium | awk 'NR>3' > AddressDeclarator.json 7 $(SOLC) AddressDeclarator.sol --bin --evm-version byzantium | awk 'NR>3' > AddressDeclarator.bin 8 $(SOLC) AddressDeclarator.sol --metadata --evm-version byzantium | awk 'NR>3' > AddressDeclarator.metadata.json 9 truncate -s -1 AddressDeclarator.bin 10 11 install: all 12 cp -v *.json ../python/eth_address_declarator/data/ 13 cp -v *.bin ../python/eth_address_declarator/data/ 14 15 .PHONY: test install