mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2024-11-22 09:46:46 +01:00
15 lines
580 B
Makefile
15 lines
580 B
Makefile
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
|
|
$(SOLC) --bin StaticToken.sol --evm-version byzantium | awk 'NR>3' > StaticToken.bin
|
|
truncate -s -1 StaticToken.bin
|
|
$(SOLC) --abi StaticToken.sol --evm-version byzantium | awk 'NR>3' > StaticToken.json
|
|
|
|
install: all
|
|
cp -v Giftable*{json,bin} ../python/giftable_erc20_token/data/
|
|
cp -v Static*{json,bin} ../python/static_token/data/
|
|
|