Separate emscripten build directory

This avoids the need to 'make clean' before you do a simulator build
(or vice-versa).
This commit is contained in:
James Haggerty
2022-11-02 06:18:23 +11:00
parent b7a461d280
commit ad6e919107
3 changed files with 8 additions and 4 deletions

View File

@@ -28,9 +28,9 @@ do
make clean
emmake make FIRMWARE=$VARIANT
mkdir "$sim_dir/$variant/"
mv "build/watch.wasm" "$sim_dir/$variant/"
mv "build/watch.js" "$sim_dir/$variant/"
mv "build/watch.html" "$sim_dir/$variant/index.html"
mv "build-sim/watch.wasm" "$sim_dir/$variant/"
mv "build-sim/watch.js" "$sim_dir/$variant/"
mv "build-sim/watch.html" "$sim_dir/$variant/index.html"
done
echo "Done."