eth-erc20/solidity/Makefile
2021-01-09 01:24:03 +01:00

12 lines
363 B
Makefile

#SOLC = /home/lash/build/solidity/build/solc/solc
SOLC = /usr/bin/solc
all:
$(SOLC) --bin GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.bin
truncate -s -1 GiftableToken.bin
$(SOLC) --abi GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.json
install: all
cp -v *{json,bin} ../python/giftable_erc20_token/data/