cic-contracts/Makefile

17 lines
331 B
Makefile
Raw Normal View History

2020-12-11 07:48:54 +01:00
# Author: Louis Holbrook <dev@holbrook.no> 0826EDA1702D1E87C6E2875121D2E7BB88C2A746
# SPDX-License-Identifier: GPL-3.0-or-later
# File-version: 1
INPUTS = $(wildcard *.sol)
OUTPUTS = $(patsubst %.sol, %.abi, $(INPUTS))
%.abi:
solc $(basename $@).sol --abi | awk 'NR>3' > $@
all: $(OUTPUTS)
clean:
rm -vf *.abi
.PHONY: clean