]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
build: clean `.*.oo.d` cpp dependency files
authorJeremy Sowden <jeremy@azazel.net>
Sun, 9 Mar 2025 16:41:28 +0000 (17:41 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sun, 9 Mar 2025 17:08:03 +0000 (18:08 +0100)
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@azazel.net>
Makefile.iptrules.in

index 7e5816451736963e2941850a0b6cf7b01ef0f82e..016f0bec5f7cf4051b4179b02bea88dbb5db7633 100644 (file)
@@ -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};