diff --git a/makefile_web b/makefile_web index 3ecc5b92..58f7f1f5 100644 --- a/makefile_web +++ b/makefile_web @@ -15,7 +15,7 @@ out: # Both the JS and WASM files are generated by the wasm-bindgen call, so both # get to be on the target half of this recipe. -out/boids.js out/boids.wasm: out target/wasm32-unknown-unknown/wasm-release/another-boids-in-rust.wasm +out/boids.js out/boids.wasm: target/wasm32-unknown-unknown/wasm-release/another-boids-in-rust.wasm | out wasm-bindgen --no-typescript --target web --out-dir ./out/ --out-name boids target/wasm32-unknown-unknown/wasm-release/another-boids-in-rust.wasm out/index.html: www/index.html