diff options
author | June McEnroe <june@causal.agency> | 2020-12-28 20:06:44 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-28 20:11:17 -0500 |
commit | ab54d9c9f162d07a62004bc0e9b958c345a03c07 (patch) | |
tree | 235c656a5673578e59985a21e78401e9ebda4304 /bin/hilex/Makefile | |
parent | Add TOUR.7 (diff) | |
download | src-ab54d9c9f162d07a62004bc0e9b958c345a03c07.tar.gz src-ab54d9c9f162d07a62004bc0e9b958c345a03c07.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | bin/hilex/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
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} |