summary refs log tree commit diff
path: root/www/causal.agency/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/causal.agency/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/causal.agency/Makefile b/www/causal.agency/Makefile
index 3acf7a39..6978cd72 100644
--- a/www/causal.agency/Makefile
+++ b/www/causal.agency/Makefile
@@ -12,13 +12,13 @@ INCLUDES = scheme.css torus.html play.html catgirl.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
+
 .SUFFIXES: .html .pty
 
 .pty.html:
-	shotty $< > $@
-
-torus.html: torus.pty
-	shotty -h 25 $< > $@
+	shotty $(FLAGS_$<) $< > $@
 
 scheme.css: scheme.sed
 	scheme -s | sed -f scheme.sed > scheme.css