From patchwork Mon Sep 10 10:28:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: build: make clean removes .*.d and *.d Date: Mon, 10 Sep 2012 00:28:11 -0000 From: Pablo Neira X-Patchwork-Id: 182840 Message-Id: <1347272891-3015-1-git-send-email-pablo@netfilter.org> To: netfilter-devel@vger.kernel.org From: Pablo Neira Ayuso While changing from master to nf-nat branch, I hit this error: make[2]: *** CC libipt_CLUSTERIP.oo No hay ninguna regla para construir el objetivo `../include/net/netfilter/nf_nat.h', necesario para `libipt_DNAT.oo'. Alto. by removing *.d and .*.d I get it fixed. Add this to `make clean' so I can avoid doing this by hand. Signed-off-by: Pablo Neira Ayuso --- extensions/GNUmakefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in index 218dc3a..88ab31d 100644 --- a/extensions/GNUmakefile.in +++ b/extensions/GNUmakefile.in @@ -76,7 +76,7 @@ install: ${targets_install} if test -n "${targets_install}"; then install -pm0755 $^ "${DESTDIR}${xtlibdir}/"; fi; clean: - rm -f *.o *.oo *.so *.a {matches,targets}[46].man initext.c initext4.c initext6.c; + rm -f *.o *.oo *.so *.a .*.d *.d {matches,targets}[46].man initext.c initext4.c initext6.c; distclean: clean rm -f .*.d .*.dd;