Skip to content

Commit

Permalink
Reorganizing wasm folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasgustavsson committed Nov 25, 2021
1 parent 7261628 commit df814f7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 68 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*.exe
*.out
wasm
*.js
31 changes: 19 additions & 12 deletions wasm/build_all.bat → build_all_wasm.bat
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
@if not exist wasm (
echo Download the wasm tools - see README.md for details
pause
goto :eof
)
pushd wasm
node wajicup.js -cc -std=c11 ../source/dos.c dos.o
node wajicup.js -stacksize 524288 -ld dos.o ../source/burn.c burn.js
node wajicup.js -stacksize 524288 -ld dos.o -args -embed edit.c ../source/edit.c ../source/edit.c edit.js
node wajicup.js -stacksize 524288 -ld dos.o ../source/julia.c julia.js
node wajicup.js -stacksize 524288 -ld dos.o ../source/mandelbrot.c mandelbrot.js
node wajicup.js -stacksize 524288 -ld dos.o ../source/plasma.c plasma.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/raycast/ ../files/raycast/ ../source/raycast.c raycast.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/rotozoom.gif ../files/rotozoom.gif ../source/rotozoom.c rotozoom.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/doom.mus ../files/doom.mus -embed files/simon.mid ../files/simon.mid -embed files/cfodder.mod ../files/cfodder.mod -embed files/soundcard.wav ../files/soundcard.wav -embed files/doom.op2 ../files/doom.op2 -embed files/doom.opb ../files/doom.opb ../source/sound.c sound.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/stranded/ ../files/stranded/ ../source/stranded.c stranded.js
node wajicup.js -stacksize 524288 -ld dos.o ../source/tracker.c tracker.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/tunnel.gif ../files/tunnel.gif ../source/tunnel.c tunnel.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/C1W.gif ../files/C1W.gif -embed files/D1.gif ../files/D1.gif ../source/voxel.c voxel.js
node wajicup.js -stacksize 524288 -ld dos.o ../source/burn.c ../burn.js
node wajicup.js -stacksize 524288 -ld dos.o -args -embed edit.c ../source/edit.c ../source/edit.c ../edit.js
node wajicup.js -stacksize 524288 -ld dos.o ../source/julia.c ../julia.js
node wajicup.js -stacksize 524288 -ld dos.o ../source/mandelbrot.c ../mandelbrot.js
node wajicup.js -stacksize 524288 -ld dos.o ../source/plasma.c ../plasma.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/raycast/ ../files/raycast/ ../source/raycast.c ../raycast.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/rotozoom.gif ../files/rotozoom.gif ../source/rotozoom.c ../rotozoom.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/doom.mus ../files/doom.mus -embed files/simon.mid ../files/simon.mid -embed files/cfodder.mod ../files/cfodder.mod -embed files/soundcard.wav ../files/soundcard.wav -embed files/doom.op2 ../files/doom.op2 -embed files/doom.opb ../files/doom.opb ../source/sound.c ../sound.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/stranded/ ../files/stranded/ ../source/stranded.c ../stranded.js
node wajicup.js -stacksize 524288 -ld dos.o ../source/tracker.c ../tracker.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/tunnel.gif ../files/tunnel.gif ../source/tunnel.c ../tunnel.js
node wajicup.js -stacksize 524288 -ld dos.o -embed files/C1W.gif ../files/C1W.gif -embed files/D1.gif ../files/D1.gif ../source/voxel.c ../voxel.js
popd wasm
9 changes: 0 additions & 9 deletions wasm/.gitignore

This file was deleted.

47 changes: 0 additions & 47 deletions wasm/template.html

This file was deleted.

File renamed without changes.

0 comments on commit df814f7

Please sign in to comment.