From c26f37f0ae2ce7bc208c3e66c9b0f0afcb247f42 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 21 Oct 2014 00:33:49 +0100 Subject: [PATCH] Makefile.in: Handle conffile.yy.h properly This needs to be deleted by clean. And it needs to be a dependency of the %.o pattern rule. (Since we rely on autogenerated .d header file dependencies, are fine for manually-edited header files but not autogenerated ones.) Signed-off-by: Ian Jackson --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 24932aa..06ea112 100644 --- a/Makefile.in +++ b/Makefile.in @@ -86,7 +86,7 @@ STALE_PYTHON_FILES= $(foreach e, py pyc, \ %.tab.c %.tab.h: %.y bison -d -o $@ $< -%.o: %.c +%.o: %.c conffile.yy.h $(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@ all: $(TARGETS) check @@ -191,7 +191,7 @@ install-force: $(MAKE) install clean: - $(RM) -f *.o *.yy.c *.tab.[ch] $(TARGETS) core version.c + $(RM) -f *.o *.yy.[ch] *.tab.[ch] $(TARGETS) core version.c $(RM) -f *.d *~ eax-*-test.confirm eax-*-test realclean: clean -- 2.30.2