eth-erc20/solidity/Makefile

11 lines
313 B
Makefile
Raw Normal View History

SOLC = /usr/bin/solc
2020-12-07 11:41:06 +01:00
all:
$(SOLC) --bin GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.bin
2020-12-07 11:41:06 +01:00
truncate -s -1 GiftableToken.bin
$(SOLC) --abi GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.json
2020-12-07 11:41:06 +01:00
2020-12-08 17:15:55 +01:00
install: all
cp -v *{json,bin} ../python/giftable_erc20_token/data/
2020-12-07 11:41:06 +01:00