The `%.oo` recipe in Makefile.iptrules.in creates corresponding `.%.oo.d` dependency files which are not cleaned up. Add them to the files that are removed by the `clean` target. Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx> --- Makefile.iptrules.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.iptrules.in b/Makefile.iptrules.in index 7e5816451736..016f0bec5f7c 100644 --- a/Makefile.iptrules.in +++ b/Makefile.iptrules.in @@ -47,7 +47,7 @@ install: ${targets} clean: @for i in ${subdirs_list}; do ${MAKE} -C $$i $@ || exit $$?; done; - rm -f *.oo *.so; + rm -f *.oo .*.oo.d *.so; lib%.so: lib%.oo ${AM_V_CCLD}${CCLD} ${AM_LDFLAGS} -shared ${LDFLAGS} -o $@ $< ${libxtables_LIBS} ${LDLIBS}; -- 2.47.2