From 0055d30e1434d20735c44ecb2e2005e8d0eed8c3 Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Mon, 27 Nov 2017 20:58:56 -0800 Subject: Add noyywrap option, removes need for libfl Simplifies build in general, and makes vhd2vl easier to build on macosx --- src/makefile | 2 +- src/vhd2vl.l | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/makefile b/src/makefile index 089240e..7960b98 100644 --- a/src/makefile +++ b/src/makefile @@ -18,7 +18,7 @@ STANDARD = --std=c99 -D_DEFAULT_SOURCE # instead of -D_DEFAULT_SOURCE vhd2vl : lex.yy.c vhd2vl.tab.c - $(CC) ${STANDARD} ${WARNS} -O2 -g -o vhd2vl lex.yy.c vhd2vl.tab.c -lfl + $(CC) ${STANDARD} ${WARNS} -O2 -g -o vhd2vl lex.yy.c vhd2vl.tab.c vhd2vl.tab.c : vhd2vl.y def.h bison -d -v -t vhd2vl.y diff --git a/src/vhd2vl.l b/src/vhd2vl.l index b4de189..d5c2ad1 100644 --- a/src/vhd2vl.l +++ b/src/vhd2vl.l @@ -22,6 +22,7 @@ %option noinput %option nounput +%option noyywrap %{ #include -- cgit v1.2.1