4747# PHONY TARGETS - List every target that has a file/dir of the same name.
4848# ==============================================================================
4949
50- .PHONY : noir barretenberg noir-projects l1-contracts release-image boxes playground docs aztec-up spartan wsdb
50+ .PHONY : noir barretenberg noir-projects l1-contracts release-image boxes playground docs aztec-up spartan wsdb bb-avm-sim
5151
5252# ==============================================================================
5353# BOOTSTRAP TARGETS
@@ -69,7 +69,7 @@ full: fast bb-full-tests bb-cpp-full yarn-project-benches
6969bench : yarn-project-benches bb-sol bb-acir
7070
7171# Release. Everything plus copy bb cross compiles to ts projects.
72- release : fast bb-cpp-release-dir bb-ts-cross-copy ipc-runtime-cross
72+ release : fast bb-cpp-release-dir bb-ts-cross-copy bb-avm-sim-cross-copy ipc-runtime-cross
7373
7474# ==============================================================================
7575# Noir
@@ -104,7 +104,7 @@ avm-transpiler-cross: avm-transpiler-cross-amd64-macos avm-transpiler-cross-arm6
104104# ==============================================================================
105105
106106# Barretenberg - Aggregate target for all barretenberg sub-projects.
107- barretenberg : bb-cpp bb-ts bb-rs bb-acir bb-docs bb-sol bb-bbup bb-crs
107+ barretenberg : bb-cpp bb-ts bb-avm-sim bb- rs bb-acir bb-docs bb-sol bb-bbup bb-crs
108108
109109# BB C++ - Main aggregate target.
110110bb-cpp : bb-cpp-native bb-cpp-wasm bb-cpp-wasm-threads
@@ -220,11 +220,17 @@ bb-cpp-full: bb-cpp bb-cpp-gcc bb-cpp-fuzzing bb-cpp-asan bb-cpp-smt bb-cpp-cros
220220
221221# BB TypeScript - TypeScript bindings
222222bb-ts : bb-cpp-wasm bb-cpp-wasm-threads bb-cpp-native ipc-runtime
223- $(call build,$@ ,barretenberg/ts)
223+ $(call build,$@ ,barretenberg/ts,build_bb_js )
224224
225225# Copies the cross-compiles into bb.js.
226226bb-ts-cross-copy : bb-ts bb-cpp-cross
227- $(call build,$@ ,barretenberg/ts,cross_copy)
227+ $(call build,$@ ,barretenberg/ts,cross_copy_bb_js)
228+
229+ bb-avm-sim : ipc-codegen ipc-runtime bb-cpp-native
230+ $(call build,$@ ,barretenberg/ts,build_bb_avm_sim)
231+
232+ bb-avm-sim-cross-copy : bb-avm-sim bb-cpp-cross
233+ $(call build,$@ ,barretenberg/ts,cross_copy_bb_avm_sim)
228234
229235# BB Rust - barretenberg-rs FFI crate
230236bb-rs : bb-ts bb-cpp-native
@@ -387,7 +393,7 @@ l1-contracts-tests: l1-contracts-verifier
387393# Yarn Project - TypeScript monorepo with all TS packages
388394# ==============================================================================
389395
390- yarn-project : bb-ts noir-projects l1-contracts wsdb
396+ yarn-project : bb-ts noir-projects l1-contracts wsdb bb-avm-sim
391397 $(call build,$@ ,yarn-project)
392398
393399yarn-project-tests : yarn-project
0 commit comments