18 lines
312 B
Makefile
18 lines
312 B
Makefile
INPUTS = $(wildcard cic_contracts/unittest/solidity/*.sol)
|
|
OUTPUTS = $(patsubst %.sol, %.bin, $(INPUTS))
|
|
|
|
all: outs package
|
|
|
|
.SUFFIXES: .sol .bin
|
|
|
|
solidity:
|
|
|
|
.sol.bin:
|
|
solc $(basename $@).sol --evm-version=byzantium --bin | awk 'NR>3' > $@
|
|
truncate -s -1 $@
|
|
|
|
outs: $(OUTPUTS)
|
|
|
|
package:
|
|
python setup.py sdist
|