]> Pileus Git - ~andy/ct/blobdiff - knot/makefile
Convert to plain old make
[~andy/ct] / knot / makefile
diff --git a/knot/makefile b/knot/makefile
new file mode 100644 (file)
index 0000000..6487dca
--- /dev/null
@@ -0,0 +1,14 @@
+# Settings
+CT        = ../ct
+PROG      = knot
+SOURCES   = knot.c html.c
+CPPFLAGS  = -I..
+
+# Targets
+test: crown.html hitch.html overhand.html
+
+# Rules
+%.html: %.txt knot makefile
+       ./knot < $< > $@
+
+include ../common.mk