diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-10-04 22:40:52 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-10-04 22:40:52 +0200 |
commit | 79134b4395c8ad9280c1264e80c3b4f4c39e1780 (patch) | |
tree | a1ba0d59676271199dab93966f6e1aebf3ef816e /Makefile | |
parent | 14349a88dd90fd7643b57bca83d8027d1a0224cb (diff) |
Compile lexer with -f
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,7 @@ LEX = flex CFLAGS = \ -Wall -Wextra -Wpedantic -Werror \ -O3 -march=native -mtune=native -pipe +LFLAGS = -f LDLIBS = -lfl PREFIX = /usr/local @@ -15,7 +16,7 @@ ${target}: lex.yy.c ${CC} ${CFLAGS} ${LDLIBS} -o $@ $< lex.yy.c: main.l - ${LEX} $< + ${LEX} ${LFLAGS} $< install: mkdir -p ${DPREFIX}/bin ${DPREFIX}/share/man/man1 |