From 8d5389d66ef79b58a0fff32fa2b01b4206bfb311 Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 16 Jan 2023 13:35:04 -0600 Subject: add initial parser --- yy/makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 yy/makefile (limited to 'yy/makefile') 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 -- cgit v1.2.1