File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -512,13 +512,13 @@ DEPS_EMSDK_BINARYEN_VERSION ?= main
512512DEPS_WABT_BUILD_OUT ?= $(DEPS_BUILD_DIR ) /wabt
513513
514514# Define the path to the utility for converting WebAssembly binary files to the WebAssembly text format:
515- DEPS_WABT_WASM2WAT ?= $(DEPS_WABT_BUILD_OUT ) /wasm2wat
515+ DEPS_WABT_WASM2WAT ?= $(DEPS_WABT_BUILD_OUT ) /build/ wasm2wat
516516
517517# Define the path to the utility for converting WebAssembly text format files to the WebAssembly binary format:
518- DEPS_WABT_WAT2WASM ?= $(DEPS_WABT_BUILD_OUT ) /wat2wasm
518+ DEPS_WABT_WAT2WASM ?= $(DEPS_WABT_BUILD_OUT ) /build/ wat2wasm
519519
520520# Define the path to the utility for linking (merging) multiple WebAssembly files:
521- DEPS_WABT_WASM_LINK ?= $(DEPS_WABT_BUILD_OUT ) /wasm-link
521+ DEPS_WABT_WASM_LINK ?= $(DEPS_WABT_BUILD_OUT ) /build/ wasm-link
522522
523523# Define the Cephes distribution to build (netlib, moshier, cephes-2.8):
524524DEPS_CEPHES_DIST ?= moshier
Original file line number Diff line number Diff line change @@ -161,7 +161,11 @@ deps-prerequisites-wabt:
161161# make deps-install-wabt
162162# /
163163deps-install-wabt : $(DEPS_WABT_BUILD_OUT ) deps-prerequisites-wabt
164- $(QUIET ) cd $(DEPS_WABT_BUILD_OUT ) && $(CMAKE ) . && $(MAKE )
164+ $(QUIET ) cd $(DEPS_WABT_BUILD_OUT ) && \
165+ $(MKDIR_RECURSIVE ) build && \
166+ cd build && \
167+ $(CMAKE ) .. && \
168+ $(CMAKE ) --build .
165169
166170.PHONY : deps-install-wabt
167171
@@ -177,9 +181,11 @@ deps-update-wabt: $(DEPS_WABT_BUILD_OUT)
177181 $(QUIET ) cd $(DEPS_WABT_BUILD_OUT ) && \
178182 $(GIT ) pull && \
179183 $(GIT ) submodule update --init --recursive && \
180- $(DELETE ) $(DELETE_FLAGS ) $(DEPS_WABT_BUILD_OUT ) /out &&
181- $(CMAKE ) . && \
182- $(MAKE )
184+ $(DELETE ) $(DELETE_FLAGS ) $(DEPS_WABT_BUILD_OUT ) /build &&
185+ $(MKDIR_RECURSIVE ) $(DEPS_WABT_BUILD_OUT ) /build && \
186+ cd $(DEPS_WABT_BUILD_OUT ) /build && \
187+ $(CMAKE ) .. && \
188+ $(CMAKE ) --build .
183189
184190.PHONY : deps-update-wabt
185191
You can’t perform that action at this time.
0 commit comments