2021-01-09 01:24:03 +01:00
|
|
|
SOLC = /usr/bin/solc
|
|
|
|
|
2020-12-07 11:41:06 +01:00
|
|
|
all:
|
2021-01-09 01:24:03 +01:00
|
|
|
$(SOLC) --bin GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.bin
|
|
|
|
$(SOLC) --abi GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.json
|
2023-03-21 21:08:17 +01:00
|
|
|
$(SOLC) --metadata GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.metadata.json
|
2022-01-22 12:56:07 +01:00
|
|
|
$(SOLC) --bin StaticToken.sol --evm-version byzantium | awk 'NR>3' > StaticToken.bin
|
|
|
|
$(SOLC) --abi StaticToken.sol --evm-version byzantium | awk 'NR>3' > StaticToken.json
|
2023-03-21 21:08:17 +01:00
|
|
|
$(SOLC) --metadata StaticToken.sol --evm-version byzantium | awk 'NR>3' > StaticToken.metadata.json
|
|
|
|
truncate -s -1 StaticToken.bin
|
|
|
|
truncate -s -1 GiftableToken.bin
|
2020-12-07 11:41:06 +01:00
|
|
|
|
2020-12-08 17:15:55 +01:00
|
|
|
install: all
|
2023-03-21 21:08:17 +01:00
|
|
|
cp -v *.json ../python/giftable_erc20_token/data/
|
|
|
|
cp -v *.bin ../python/giftable_erc20_token/data/
|
2020-12-07 11:41:06 +01:00
|
|
|
|