aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 98cd1b8ab70ea4b4645594eeb77204c7df3f0c79 (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
turbo.scm.go: turbo.scm
	guild compile -o turbo.scm.go turbo.scm

.PHONY: play
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

.PHONY: 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