Files
darkfi/script/research/rln/rlnv2/Makefile
Paul Otten 721502a468 Move from "nightly" toolchain to "stable".
Intended to address tau RefID "Gifn1u".

There are still a few things that require nightly.
- cargo +nightly fmt
- fuzzing
2025-04-14 19:42:15 -04:00

27 lines
455 B
Makefile

.POSIX:
# Cargo binary
CARGO = cargo
# Compile target
RUST_TARGET = $(shell rustc -Vv | grep '^host: ' | cut -d' ' -f2)
PROOFS_SRC = signal.zk slash.zk
PROOFS_BIN = $(PROOFS_SRC:=.bin)
ZKAS = ../../../../zkas
all: $(PROOFS_BIN)
$(CARGO) run --target=$(RUST_TARGET) --release
$(ZKAS):
$(MAKE) -C ../../../../zkas
$(PROOFS_BIN): $(ZKAS) $(PROOFS_SRC)
$(ZKAS) $(basename $@) -o $@
clean:
rm -rf target $(PROOFS_BIN) Cargo.lock
.PHONY: all clean