aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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