lotus/Makefile
2019-07-17 13:23:13 +02:00

22 lines
578 B
Makefile

all: build
blssigs: lib/bls-signatures/include/libbls_signatures.h
lib/bls-signatures/include/libbls_signatures.h: lib/bls-signatures/bls-signatures ;
./scripts/install-bls-signatures.sh
sectorbuilder: lib/sectorbuilder/include/sector_builder_ffi.h
lib/sectorbuilder/include/sector_builder_ffi.h: lib/sectorbuilder lib/sectorbuilder/rust-fil-sector-builder ;
./lib/sectorbuilder/build.sh
lib/sectorbuilder:
git submodule update --init --recursive lib/sectorbuilder
deps: blssigs sectorbuilder
build: deps
go build -o lotus ./cmd/lotus
.PHONY: all build deps blssigs