Florian Stinglmayr
07e05034fc
This allows the library to be linked with other libraries that also use flex and bison.
22 lines
361 B
Makefile
22 lines
361 B
Makefile
AM_YFLAGS = -d
|
|
AM_LFLAGS = -P dp
|
|
BUILT_SOURCES = lib/dice_parse.h
|
|
|
|
lib_LTLIBRARIES = libdice.la
|
|
libdice_la_SOURCES = lib/dice_lexer.l \
|
|
lib/dice_parse.y \
|
|
lib/dice.h \
|
|
lib/dice.c \
|
|
lib/diceexpr.c \
|
|
lex.dp.c
|
|
|
|
include_HEADERS = lib/dice.h
|
|
|
|
AM_CFLAGS = -Ilib
|
|
|
|
libdice_la_LIBADD = ${BSD_LIBS} -lm
|
|
|
|
pkgconfig_DATA = libdice.pc
|
|
|
|
SUBDIRS = . tests
|