Skip to content

Commit

Permalink
make: remove *.ll when 'clean' has local override
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Boccassi <[email protected]>
  • Loading branch information
bluca authored and tohojo committed Feb 6, 2024
1 parent 95bc25b commit f5501b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/libxdp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/util/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f5501b1

Please sign in to comment.