mirror of
git://holbrook.no/eth-token-index
synced 2024-11-16 22:46:46 +01:00
12 lines
393 B
Makefile
12 lines
393 B
Makefile
|
SOLC = /usr/bin/solc
|
||
|
|
||
|
all:
|
||
|
$(SOLC) TokenUniqueSymbolIndex.sol --abi --evm-version byzantium | awk 'NR>3' > TokenUniqueSymbolIndex.json
|
||
|
$(SOLC) TokenUniqueSymbolIndex.sol --bin --evm-version byzantium | awk 'NR>3' > TokenUniqueSymbolIndex.bin
|
||
|
truncate -s -1 TokenUniqueSymbolIndex.bin
|
||
|
|
||
|
install: all
|
||
|
cp -v TokenUniqueSymbolIndex.{json,bin} ../python/eth_token_index/data/
|
||
|
|
||
|
.PHONY: install
|