aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 28 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index b0b70a2..98cd1b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,33 @@
-turbo.go: turbo.scm
+turbo.scm.go: turbo.scm
guild compile -o turbo.scm.go turbo.scm
.PHONY: play
-play:
- guile turbo.scm
+play: turbo.scm.go
+ guile -C . --no-auto-compile turbo.scm
+
+.venv:
+ python3 -m venv .venv
+
+.venv/bin/appimage-builder: .venv
+ .venv/bin/pip install appimage-builder
+
+.PHONY: appimage-builder
+appimage-builder: .venv/bin/appimage-builder
+
+turbo-racer-3000-latest-x86_64.AppImage: .venv turbo.scm.go
+ .venv/bin/appimage-builder
-# This probably doesn't work anymore.
.PHONY: bundle
-bundle:
- chickadee bundle
+bundle: turbo-racer-3000-latest-x86_64.AppImage
+
+.PHONY: clean
+clean:
+ rm -rf chickadee*
+ rm -rf guile-opengl*
+ rm -rf guile-sdl2*
+ rm -rf AppDir
+ rm -rf build-dir builddir
+
+.PHONY: deepclean
+deepclean: clean
+ rm -rf .venv