From ea03b6bcd1045dfc0d6947e4858de8994d61170b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 2 Aug 2005 18:08:48 +0000 Subject: Mark generated files as BUILT_SOURCES and CLEANFILES to ensure they are regenerated after 'make clean' and to make parallel builds work right. --- src/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index c530057..6481938 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -60,7 +60,10 @@ twm_SOURCES = \ gram.y \ lex.l -BUILT_SOURCES = gram.h deftwmrc.c +BUILT_SOURCES = gram.h gram.c lex.c deftwmrc.c +CLEANFILES = $(BUILT_SOURCES) + +gram.h: gram.c deftwmrc.c: system.twmrc rm -f $@ -- cgit v1.2.3