[PATCH] examples/flow_filtering: fix make clean
    Tanzeel Ahmed 
    tanzeelahmed713 at gmail.com
       
    Sat Mar 29 20:53:33 CET 2025
    
    
  
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
    
    
More information about the dev
mailing list