# WebAssembly > WebAssembly commands.
This directory contains [`make`][make] rules for managing WebAssembly.
## Usage ```text Usage: make [= = ...] ``` ### Commands #### wasm Compiles WebAssembly artifacts. ```bash $ make wasm ``` The command supports the following environment variables: - **PKGS_WASM_PATTERN**: package pattern; e.g., `blas/base/daxpy-wasm`. If unable to compile WebAssemby artifacts, the command prints an error message and tries compiling WebAssembly artifacts for the next package. #### clean-wasm Removes all compiled and generated WebAssembly files. ```bash $ make clean-wasm ``` The command supports the following environment variables: - **PKGS_WASM_PATTERN**: package pattern; e.g., `blas/base/daxpy-wasm`.