mirror of
https://github.com/arnaucube/sonobe-playground.git
synced 2026-01-13 17:41:28 +01:00
Makefile
This commit is contained in:
13
Makefile
Normal file
13
Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
.PHONY: help
|
||||
help: # Show help for each of the Makefile recipes.
|
||||
@grep -E '^[a-zA-Z0-9 -]+:.*#' Makefile | sort | while read -r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done
|
||||
|
||||
.PHONY: prepare-circuit
|
||||
prepare-circuit: clear-circuit-artifacts # Build the circuit artifacts
|
||||
@cd circuit && \
|
||||
npm install && \
|
||||
circom grayscale_step.circom --r1cs --wasm
|
||||
|
||||
.PHONY: clear-circuit-artifacts
|
||||
clear-circuit-artifacts: # Clear the circuit artifacts
|
||||
@rm -rf circuit/grayscale_step_js circuit/grayscale_step.r1cs
|
||||
Reference in New Issue
Block a user