[PATCH] examples/flow_filtering: fix make clean
Shani Peretz
shperetz at nvidia.com
Thu Apr 3 09:01:19 CEST 2025
> -----Original Message-----
> From: Tanzeel Ahmed <tanzeelahmed713 at gmail.com>
> Sent: Saturday, 29 March 2025 22:54
> To: Ori Kam <orika at nvidia.com>
> Cc: dev at dpdk.org; Tanzeel Ahmed <tanzeelahmed713 at gmail.com>
> Subject: [PATCH] examples/flow_filtering: fix make clean
>
> External email: Use caution opening links or attachments
>
>
> make clean is unable to delete build directory because *.o files are not
> removed.
>
> The other way to fix this would be to add all the c files into SRCS-y.
>
> Signed-off-by: Tanzeel Ahmed <tanzeelahmed713 at gmail.com>
> ---
> examples/flow_filtering/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/examples/flow_filtering/Makefile
> b/examples/flow_filtering/Makefile
> index 9998ed10b5..653e3319a2 100644
> --- a/examples/flow_filtering/Makefile
> +++ b/examples/flow_filtering/Makefile
> @@ -50,5 +50,5 @@ build:
>
> .PHONY: clean
> clean:
> - rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
> + rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
> + build/*.o
> test -d build && rmdir -p build || true
> --
> 2.25.1
I checked and looks good on my side
More information about the dev
mailing list