diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/Makefile.am | 5 |
2 files changed, 13 insertions, 1 deletions
@@ -0,0 +1,9 @@ +2005-08-02 Keith Packard <keithp@keithp.com> + + * src/Makefile.am: +2005-08-02 Keith Packard <keithp@keithp.com> + + * Makefile.am: + Mark generated files as BUILT_SOURCES and CLEANFILES + to ensure they are regenerated after 'make clean' and + to make parallel builds work right. 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 $@ |