From f5501b1d9fa923858cdf7500d332e9295452984b Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 5 Feb 2024 22:13:27 +0000 Subject: [PATCH] make: remove *.ll when 'clean' has local override Signed-off-by: Luca Boccassi --- lib/libxdp/Makefile | 2 +- lib/util/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile index 9db5dc17..cf0afa49 100644 --- a/lib/libxdp/Makefile +++ b/lib/libxdp/Makefile @@ -42,7 +42,7 @@ endif all: $(STATIC_LIBS) $(SHARED_LIBS) $(XDP_OBJS) $(PC_FILE) check man clean: - $(Q)rm -f $(STATIC_LIBS) $(STATIC_OBJS) $(SHARED_LIBS) $(SHARED_OBJS) $(XDP_OBJS) $(PC_FILE) $(MAN_OBJ) $(TEMPLATED_SOURCES) + $(Q)rm -f $(STATIC_LIBS) $(STATIC_OBJS) $(SHARED_LIBS) $(SHARED_OBJS) $(XDP_OBJS) $(PC_FILE) $(MAN_OBJ) $(TEMPLATED_SOURCES) *.ll $(Q)for d in $(SHARED_OBJDIR) $(STATIC_OBJDIR); do \ [ -d "$$d" ] && rmdir "$$d"; done || true $(Q)$(MAKE) -C $(TEST_DIR) clean diff --git a/lib/util/Makefile b/lib/util/Makefile index 24070f09..5ddccd5c 100644 --- a/lib/util/Makefile +++ b/lib/util/Makefile @@ -13,7 +13,7 @@ $(UTIL_OBJS): %.o: %.c %.h $(UTIL_SKEL_H) $(LIBMK) $(QUIET_CC)$(CC) $(CFLAGS) $(CPPFLAGS) -Wall -I../../headers -c -o $@ $< clean: - $(Q)rm -f $(UTIL_OBJS) $(UTIL_BPF_OBJS) $(UTIL_SKEL_H) + $(Q)rm -f $(UTIL_OBJS) $(UTIL_BPF_OBJS) $(UTIL_SKEL_H) *.ll BPF_CFLAGS += -I$(HEADER_DIR) $(ARCH_INCLUDES)