gstreamer/gst/parse/Makefile.am

21 lines
396 B
Makefile
Raw Normal View History

noinst_LTLIBRARIES = libgstparse.la
libgstparse_la_SOURCES = lex.yy.c grammar.tab.c
BISON = bison -d -v
libgstparse_la_CFLAGS = $(LIBGST_CFLAGS)
libgstparse_la_LIBADD = $(LIBGST_LIBS)
noinst_HEADERS = grammar.tab.h
BUILT_SOURCES = grammar.tab.h grammar.tab.c lex.yy.c
EXTRA_DIST = grammar.y parse.l types.h
grammar.tab.c grammar.tab.h: grammar.y
$(BISON) $^
lex.yy.c: parse.l
flex $^