diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.am | 6 |
2 files changed, 10 insertions, 2 deletions
@@ -0,0 +1,6 @@ +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/Makefile.am b/Makefile.am index e4374e1..580bbab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,7 +46,9 @@ xgc_SOURCES = \ dist_man1_MANS = \ xgc.man -BUILT_SOURCES = gram.h +BUILT_SOURCES = gram.h gram.c lex.c + +gram.h: gram.c # App default files (*.ad) @@ -72,5 +74,5 @@ EXTRA_DIST = $(APPDEFAULTFILES:%=%.ad) tile Bugs \ Written/Outline \ Written/Widget -CLEANFILES = $(APPDEFAULTFILES) +CLEANFILES = $(APPDEFAULTFILES) $(BUILT_SOURCES) |