diff options
author | Keith Packard <keithp@keithp.com> | 2005-08-02 18:08:48 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2005-08-02 18:08:48 +0000 |
commit | ea03b6bcd1045dfc0d6947e4858de8994d61170b (patch) | |
tree | a2cfb3faa866a6f06a8c27e94d47685e672b8924 /src | |
parent | a12f281be43c1c86147fb89c99484ac558f64425 (diff) |
Mark generated files as BUILT_SOURCES and CLEANFILES to ensure they are
regenerated after 'make clean' and to make parallel builds work right.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
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 $@ |