]> Pileus Git - ~andy/ct/blobdiff - mkfile
Add C/Bison/Lex ct parser
[~andy/ct] / mkfile
diff --git a/mkfile b/mkfile
new file mode 100644 (file)
index 0000000..8f43ffd
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,11 @@
+PROGS=ct
+PKGS=glib-2.0
+ct-test:V: ct
+       ./ct < example/html.ct
+ct: ct.o scan.o parse.o parse.h
+%.c: %.l
+       flex -o $target $prereq
+%.h %.c: %.y
+       bison -d -o $stem.c $stem.y
+CLEAN=parse.h parse.c scan.c
+<$HOME/lib/mkcommon