SOLC = /usr/bin/solc all: address_declarator address_declarator: $(SOLC) AddressDeclarator.sol --abi --evm-version byzantium | awk 'NR>3' > AddressDeclarator.json $(SOLC) AddressDeclarator.sol --bin --evm-version byzantium | awk 'NR>3' > AddressDeclarator.bin $(SOLC) AddressDeclarator.sol --metadata --evm-version byzantium | awk 'NR>3' > AddressDeclarator.metadata.json truncate -s -1 AddressDeclarator.bin install: all cp -v *.json ../python/eth_address_declarator/data/ cp -v *.bin ../python/eth_address_declarator/data/ .PHONY: test install