1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Author: Luca Boccassi <bluca@debian.org>
Forwarded: https://github.com/xdp-project/xdp-tools/pull/555
Description: remove all generated files on make clean
--- a/lib/libxdp/tests/Makefile
+++ b/lib/libxdp/tests/Makefile
@@ -54,7 +54,7 @@
.PHONY: clean
clean::
- $(Q)rm -f $(USER_TARGETS) $(USER_OBJ)
+ $(Q)rm -f $(USER_TARGETS) $(USER_OBJ) $(STATIC_LINK_TARGETS) $(BPF_OBJS)
.PHONY: install
install: all
--- a/Makefile
+++ b/Makefile
@@ -72,6 +72,7 @@
clean: check_submodule
@for i in $(SUBDIRS); \
do $(MAKE) -C $$i clean; done
+ rm -f config.mk
install: all
@for i in $(SUBDIRS); \
|