libdice/Makefile.am
Florian Stinglmayr 4c2b7c3087 differentiate libdice flex/bison with prefix "dp"
This allows the library to be linked with other libraries that also
use flex and bison.
2018-05-11 16:57:55 +02:00

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