erc20-pool/solidity/Makefile

13 lines
418 B
Makefile
Raw Normal View History

2023-07-25 10:49:50 +02:00
SOLC = /usr/bin/solc
all:
$(SOLC) --bin SwapPool.sol --evm-version byzantium | awk 'NR>3' > SwapPool.bin
$(SOLC) --abi SwapPool.sol --evm-version byzantium | awk 'NR>3' > SwapPool.json
$(SOLC) --metadata SwapPool.sol --evm-version byzantium | awk 'NR>3' > SwapPool.metadata.json
truncate -s -1 SwapPool.bin
install: all
cp -v *.json ../python/erc20_swap_pool/data/
cp -v *.bin ../python/erc20_swap_pool/data/