fix building

This commit is contained in:
Florian Stinglmayr 2018-05-18 10:57:39 +02:00
parent e543baff47
commit e7ca9d9036
3 changed files with 2 additions and 5 deletions

View File

@ -7,8 +7,7 @@ libdice_la_SOURCES = lib/dice_lexer.l \
lib/dice_parse.y \ lib/dice_parse.y \
lib/dice.h \ lib/dice.h \
lib/dice.c \ lib/dice.c \
lib/diceexpr.c \ lib/diceexpr.c
lex.dp.c
include_HEADERS = lib/dice.h include_HEADERS = lib/dice.h

View File

@ -1,2 +0,0 @@
/* empty file, so that autotools has something to compile
*/

View File

@ -1,6 +1,6 @@
%option prefix="dp"
%option bison-bridge %option bison-bridge
%option reentrant %option reentrant
%option outfile="../lib/dice_lexer.c"
%{ %{
#define YYSTYPE DPSTYPE #define YYSTYPE DPSTYPE