From ff856af64af46d2466193cf87d1e4325b6da720c Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 8 Apr 2003 21:48:27 +0000 Subject: [PATCH] - clean bison- and flex-built files on make clean. (fixes #101421) Original commit message from CVS: - clean bison- and flex-built files on make clean. (fixes #101421) - use CFLAGS that enable debugging symbols. --- gst/parse/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gst/parse/Makefile.am b/gst/parse/Makefile.am index 7f255f7238..67aa7203e0 100644 --- a/gst/parse/Makefile.am +++ b/gst/parse/Makefile.am @@ -4,7 +4,7 @@ libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c BISON = bison -d -v -p_gst_parse__yy -libgstparse_la_CFLAGS = $(LIBGST_CFLAGS) +libgstparse_la_CFLAGS = $(GST_CFLAGS) libgstparse_la_LIBADD = $(LIBGST_LIBS) noinst_HEADERS = grammar.tab.h @@ -23,3 +23,9 @@ grammar.tab.c grammar.tab.h: grammar.y ../gstmarshal.h lex._gst_parse_yy.c: parse.l flex -P_gst_parse_yy $^ + +dist-hook: + rm -f $(BUILT_SOURCES) + +clean-local: + rm -f $(BUILT_SOURCES)