arnaucube
arnaucube/sonobe-playgroundPublic Self-hosted repository
sonobe-playground/Makefile
MakefileRaw
 1.PHONY: help
 2help: # Show help for each of the Makefile recipes.
 3	@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
 4
 5.PHONY: prepare-circuit
 6prepare-circuit: clear-circuit-artifacts # Build the circuit artifacts
 7	@cd circuit && \
 8		npm install && \
 9		circom grayscale_step.circom --r1cs --wasm
10
11.PHONY: clear-circuit-artifacts
12clear-circuit-artifacts: # Clear the circuit artifacts
13	@rm -rf circuit/grayscale_step_js circuit/grayscale_step.r1cs