summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-11-27 20:58:56 -0800
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-11-27 20:58:56 -0800
commit0055d30e1434d20735c44ecb2e2005e8d0eed8c3 (patch)
tree67f7894b9b47a511f79715db6829b3270897342e
parentcfc3304963dcc3fe9284d1122dc5e604a92197e1 (diff)
downloadvhdl2vl-0055d30e1434d20735c44ecb2e2005e8d0eed8c3.tar.gz
vhdl2vl-0055d30e1434d20735c44ecb2e2005e8d0eed8c3.zip
Add noyywrap option, removes need for libfl
Simplifies build in general, and makes vhd2vl easier to build on macosx
-rw-r--r--src/makefile2
-rw-r--r--src/vhd2vl.l1
2 files changed, 2 insertions, 1 deletions
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 <stdio.h>
OpenPOWER on IntegriCloud