modules = \ strigoform/assets.scm \ strigoform/audio.scm \ strigoform/bullets.scm \ strigoform/canvas.scm \ strigoform/document.scm \ strigoform/element.scm \ strigoform/enemies.scm \ strigoform/event.scm \ strigoform/game-area.scm \ strigoform/image.scm \ strigoform/level-1.scm \ strigoform/level.scm \ strigoform/math.scm \ strigoform/particles.scm \ strigoform/scripts.scm \ strigoform/time.scm \ strigoform/type.scm \ strigoform/window.scm game.wasm: game.scm $(modules) guild compile-wasm -L . -o game.wasm game.scm strigoform/level-1.scm: level.tmx compile-map.scm guile compile-map.scm > strigoform/level-1.scm bundle: game.wasm rm strigoform.zip || true zip strigoform.zip -r audio/*.{wav,ogg} images/*.png fonts/ js-runtime/ boot.js game.css game.wasm index.html serve: game.wasm guile web-server.scm clean: rm game.wasm strigoform/level-1.scm