zerokit/Makefile

23 lines
354 B
Makefile
Raw Normal View History

.PHONY: all installdeps build test clean
all: .pre-build build
.fetch-submodules:
@git submodule update --init --recursive
.pre-build: .fetch-submodules
ifeq (, $(shell which cargo-make))
@cargo install --force cargo-make
endif
installdeps: .pre-build
build: .pre-build
@cargo make build
test: .pre-build
@cargo make test
clean:
@cargo clean