aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3b60d78..b56c124 100644
--- a/Makefile
+++ b/Makefile
@@ -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