xref: /third_party/node/test/wasi/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/wasi/
11cb0ef41Sopenharmony_ciCC = /opt/wasi-sdk/bin/clang
21cb0ef41Sopenharmony_ciTARGET = wasm32-unknown-wasi
31cb0ef41Sopenharmony_ciSYSROOT =
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ciOBJ = $(patsubst c/%.c, wasm/%.wasm, $(wildcard c/*.c))
61cb0ef41Sopenharmony_ciall: $(OBJ)
71cb0ef41Sopenharmony_ci
81cb0ef41Sopenharmony_ciwasm/%.wasm : c/%.c
91cb0ef41Sopenharmony_ci	$(CC) $< --target=$(TARGET) --sysroot=$(SYSROOT) -s -o $@
101cb0ef41Sopenharmony_ci
111cb0ef41Sopenharmony_ci.PHONY clean:
121cb0ef41Sopenharmony_ci	rm -f $(OBJ)
13

Indexes created Thu Nov 07 10:32:03 CST 2024