summaryrefslogtreecommitdiff
path: root/yy/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'yy/makefile')
-rw-r--r--yy/makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/yy/makefile b/yy/makefile
new file mode 100644
index 0000000..cd482dc
--- /dev/null
+++ b/yy/makefile
@@ -0,0 +1,10 @@
+all: kalmia
+
+y.tab.c: kalmia.y
+ yacc -d kalmia.y
+
+lex.yy.c: kalmia.l
+ lex kalmia.l
+
+kalmia: y.tab.c lex.yy.c
+ gcc -o kalmia y.tab.c lex.yy.c -lfl