summaryrefslogtreecommitdiff
path: root/yy/makefile
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-01-16 13:35:04 -0600
committersanine <sanine.not@pm.me>2023-01-16 13:35:04 -0600
commit8d5389d66ef79b58a0fff32fa2b01b4206bfb311 (patch)
tree02bd7a8c80d5c4897a6e29d5efcccc9ea01082e4 /yy/makefile
parente7073c34d2ca92663d98bbb1912ad5f6e615e87f (diff)
add initial parser
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