mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
Makefile: clean target should also call clean for lib directory
Signed-off-by: Jesper Dangaard Brouer <netoptimizer@brouer.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -10,6 +10,7 @@ endif
|
||||
|
||||
ifeq ($(VERBOSE),0)
|
||||
MAKEFLAGS += --no-print-directory
|
||||
Q = @
|
||||
endif
|
||||
|
||||
SUBDIRS := encap-forward lsm-nobpf
|
||||
@@ -54,8 +55,9 @@ clobber:
|
||||
distclean: clobber
|
||||
|
||||
clean: check_submodule
|
||||
@for i in $(SUBDIRS); \
|
||||
$(Q)for i in $(SUBDIRS); \
|
||||
do $(MAKE) -C $$i clean; done
|
||||
$(Q)$(MAKE) -C lib clean
|
||||
|
||||
compile_commands.json: clean
|
||||
compiledb make V=1
|
||||
|
Reference in New Issue
Block a user