summary refs log tree commit diff
path: root/www/causal.agency/Makefile
blob: d1031b764a224ea514a7bcb8d76eb5c1bf1eeaf5 (plain) (blame)
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
WEBROOT = /usr/local/www/causal.agency

FILES = index.html scheme.png

all: ${FILES}

install: ${FILES}
	install -C -m 644 ${FILES} ${WEBROOT}

INCLUDES = scheme.css torus.html play.html catgirl.html scheme.html

index.html: index.html.in index.sed ${INCLUDES}
	sed -f index.sed index.html.in > index.html

FLAGS_catgirl.pty = -c
FLAGS_torus.pty = -h 25
FLAGS_scheme.pty = -h 10

.SUFFIXES: .html .pty

.pty.html:
	shotty ${FLAGS_$<} $< > $@

scheme.css: scheme.sed
	scheme -s | sed -f scheme.sed > scheme.css

scheme.png:
	scheme -g > scheme.png

clean:
	rm -f *.html scheme.css scheme.png
f='/play/commit/play.c?h=2b51e7eb92aefa048ecd665e609f5e0983e4d98b&id=7a928a34cd2baceead4e4d4a1390cd14059ee314&follow=1'>Add freecellJune McEnroe 2021-04-18Allow cumulative score gamesJune McEnroe 2021-01-31Check isattyJune McEnroe 2021-01-31Launch game immediately with SSH_ORIGINAL_COMMANDJune McEnroe 2021-01-29Handle getch ERR in menuJune McEnroe 2021-01-29Set process title to chosen gameJune McEnroe 2021-01-29Add pause to snakeJune McEnroe 2021-01-29Add menu to choose 2048 or snakeJune McEnroe 2021-01-29Actually wait for a non-direction keyJune McEnroe 2021-01-29Give the snake a tailJune McEnroe 2021-01-29Don't let the snake snap its own neckJune McEnroe