Make it so we do not need to manually update the makefile
This commit is contained in:
parent
8daadcefd5
commit
c118f9657a
1 changed files with 7 additions and 27 deletions
34
Makefile
34
Makefile
|
@ -1,30 +1,10 @@
|
|||
modules = \
|
||||
modules/game-core.scm \
|
||||
modules/ces/component/inputs.scm \
|
||||
modules/ces/component/player.scm \
|
||||
modules/ces/component/position.scm \
|
||||
modules/ces/component/velocity.scm \
|
||||
modules/ces/component/sprite.scm \
|
||||
modules/ces/component/tilemap.scm \
|
||||
modules/ces/component.scm \
|
||||
modules/ces/entity.scm \
|
||||
modules/ces/entity-manager.scm \
|
||||
modules/ces/system-manager.scm \
|
||||
modules/ces/system.scm \
|
||||
modules/ces/system/sprite-renderer.scm \
|
||||
modules/ces/system/keyboard-reader.scm \
|
||||
modules/ces/system/tilemap-renderer.scm \
|
||||
modules/dom/canvas.scm \
|
||||
modules/dom/console.scm \
|
||||
modules/dom/document.scm \
|
||||
modules/dom/element.scm \
|
||||
modules/dom/event.scm \
|
||||
modules/dom/image.scm \
|
||||
modules/dom/media.scm \
|
||||
modules/dom/window.scm \
|
||||
modules/math.scm \
|
||||
modules/math/rect.scm \
|
||||
modules/math/vector.scm
|
||||
modules := \
|
||||
$(wildcard modules/*.scm) \
|
||||
$(wildcard modules/ces/*.scm) \
|
||||
$(wildcard modules/ces/component/*.scm) \
|
||||
$(wildcard modules/ces/system/*.scm) \
|
||||
$(wildcard modules/dom/*.scm) \
|
||||
$(wildcard modules/math/*.scm)
|
||||
|
||||
game.wasm: game.scm $(modules)
|
||||
guild compile-wasm -L modules -o $@ $<
|
||||
|
|
Loading…
Reference in a new issue