From: Ian Jackson Date: Mon, 20 Oct 2014 23:33:49 +0000 (+0100) Subject: Makefile.in: Handle conffile.yy.h properly X-Git-Tag: base.ipv6-polypath-fixes.v1~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=commitdiff_plain;h=c26f37f0ae2ce7bc208c3e66c9b0f0afcb247f42;ds=sidebyside 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 --- 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