eth-owned

EIP-173 interface and tools for chainlib-eth
git clone git://holbrook.no/eth-owned.git
Info | Log | Files | Refs

Makefile (969B)


      1 SOLC = /usr/bin/solc
      2 
      3 all:
      4 	$(SOLC) VoidOwner.sol --abi --evm-version byzantium | awk 'NR>3' > VoidOwner.json
      5 	$(SOLC) VoidOwner.sol --bin --evm-version byzantium | awk 'NR>3' > VoidOwner.bin
      6 	truncate -s -1 VoidOwner.bin
      7 	$(SOLC) Owned.sol --abi --evm-version byzantium | awk 'NR>3' > Owned.json
      8 	$(SOLC) Owned.sol --bin --evm-version byzantium | awk 'NR>3' > Owned.bin
      9 	truncate -s -1 Owned.bin
     10 	$(SOLC) OwnedSimple.sol --abi --evm-version byzantium | awk 'NR>3' > OwnedSimple.json
     11 	$(SOLC) OwnedSimple.sol --bin --evm-version byzantium | awk 'NR>3' > OwnedSimple.bin
     12 	truncate -s -1 OwnedSimple.bin
     13 
     14 test: all
     15 	python ../python/tests/test_basic.py
     16 
     17 install: all
     18 	cp -v VoidOwner.json ../python/eth_owned/data/
     19 	cp -v VoidOwner.bin ../python/eth_owned/data/
     20 	cp -v Owned.json ../python/eth_owned/data/
     21 	cp -v Owned.bin ../python/eth_owned/data/
     22 	cp -v OwnedSimple.json ../python/eth_owned/data/
     23 	cp -v OwnedSimple.bin ../python/eth_owned/data/
     24 	
     25 .PHONY: test install