From 392fc74a77b94cc78e9bfe349dcdfa0ab8fc8f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 10 Jun 2022 18:03:44 +0200 Subject: Simple lex implementation. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..80cc949 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +CC = gcc + +xroff: lex.yy.c + $(CC) $(CFLAGS) $(LDFLAGS) -o xroff lex.yy.c + +lex.yy.c: xroff.lex + flex xroff.lex -- cgit v1.2.3