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
@@ -225,11 +225,17 @@ bb-cpp-full: bb-cpp bb-cpp-gcc bb-cpp-fuzzing bb-cpp-windows bb-cpp-asan bb-cpp-
225225
226226# BB TypeScript - TypeScript bindings
227227bb-ts : bb-cpp-wasm bb-cpp-wasm-threads bb-cpp-native ipc-runtime
228- $(call build,$@ ,barretenberg/ts)
228+ $(call build,$@ ,barretenberg/ts,build_bb_js )
229229
230230# Copies the cross-compiles into bb.js.
231231bb-ts-cross-copy : bb-ts bb-cpp-cross
232- $(call build,$@ ,barretenberg/ts,cross_copy)
232+ $(call build,$@ ,barretenberg/ts,cross_copy_bb_js)
233+
234+ bb-avm-sim : ipc-codegen ipc-runtime bb-cpp-native
235+ $(call build,$@ ,barretenberg/ts,build_bb_avm_sim)
236+
237+ bb-avm-sim-cross-copy : bb-avm-sim bb-cpp-cross
238+ $(call build,$@ ,barretenberg/ts,cross_copy_bb_avm_sim)
233239
234240# BB Rust - barretenberg-rs FFI crate
235241bb-rs : bb-ts bb-cpp-native
@@ -415,7 +421,7 @@ l1-contracts-tests: l1-contracts-verifier
415421# Yarn Project - TypeScript monorepo with all TS packages
416422# ==============================================================================
417423
418- yarn-project : bb-ts noir-projects l1-contracts wsdb
424+ yarn-project : bb-ts noir-projects l1-contracts wsdb bb-avm-sim
419425 $(call build,$@ ,yarn-project)
420426
421427yarn-project-tests : yarn-project
0 commit comments