aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGene Pasquet <dev@etenil.net>2025-06-29 00:33:14 +0100
committerGene Pasquet <dev@etenil.net>2025-10-30 00:19:15 +0000
commita492f4ac690ec9f0c75f6829529eea06ce067b23 (patch)
treeb1dd0d668bb5c8b3abc083e84773e46601a84e41 /Makefile
parent114a81a7761e098ea34e2a4c27a0ec6e384c720d (diff)
fix tilesets and build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index c5202d6..ef91e97 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,13 @@
-.venv:
- python3 -m venv .venv
- .venv/bin/pip install -r requirements.txt
+bin/game: bin tilemap.import.scm
+ csc -o bin/game src/game.scm
-run: .venv
- .venv/bin/hy src/macroknight/game.hy
+bin:
+ mkdir bin
-package:
- zip -r macroknight.zip \
- assets \
- LICENSE \
- macroknight.tiled-project \
- macroknight.tiled-session \
- Makefile \
- README.md \
- requirements.txt \
- src \
- TODO.org \
+tilemap.import.scm: bin src/tilemap.scm
+ csc -c -o bin/tilemap.o -j tilemap src/tilemap.scm
+.PHONY:
+clean:
+ rm -rf bin
+ rm -f *.import.scm game