diff --git a/Makefile b/Makefile index 8ec9bee..3d0b110 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,13 @@ all: clone_custom_noir build_noir clone_custom_plonky2 build_plonky2 build_backend precompile_tests +# Cloning and building external resources + +build_external: + $(MAKE) clone_custom_noir + $(MAKE) build_noir + $(MAKE) clone_custom_plonky2 + $(MAKE) build_plonky2 + clone_custom_noir: git clone https://github.com/brweisz/noir @@ -12,12 +20,21 @@ clone_custom_plonky2: build_plonky2: rustup override set nightly && cd plonky2 && cargo build --release + +# Building plonky2-backend + build_backend: cd plonky2-backend && cargo build --release + +# Tests + precompile_tests: python prepare_compiled_noir_test_programs.py + +# Execution + nargo_execute: cd noir_example && ../noir/target/release/nargo execute witness --print-acir