blob: 94677e9a45078156ef47c85fe335650365e66cdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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
|