From 593137c52dc77cf113c1d9561d1b27b98a550bb5 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 28 Dec 2020 20:06:44 -0500 Subject: Add initial version of hilex hilex is meant to replace hi, based on lex rather than a mess of overlapping regexps. I want to preserve hi's tagging abilities, but that will require some amount of parsing/post-processing, which I'm not sure how to approach yet. Macro lexing for C still needs work, as I want to match strings and comments inside macros. --- bin/hilex/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 bin/hilex/Makefile (limited to 'bin/hilex/Makefile') diff --git a/bin/hilex/Makefile b/bin/hilex/Makefile new file mode 100644 index 00000000..4a930757 --- /dev/null +++ b/bin/hilex/Makefile @@ -0,0 +1,14 @@ +CFLAGS += -std=c11 -Wall -Wextra -Wpedantic + +OBJS += ansi.o +OBJS += c.o +OBJS += hilex.o +OBJS += text.o + +hilex: ${OBJS} + ${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@ + +${OBJS}: hilex.h + +clean: + rm -f hilex ${OBJS} -- cgit 1.4.1