aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libcommon/common/makefile')
-rw-r--r--libcommon/common/makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcommon/common/makefile b/libcommon/common/makefile
index 2987959..7349690 100644
--- a/libcommon/common/makefile
+++ b/libcommon/common/makefile
@@ -97,7 +97,8 @@ $(dist): $(gen)
$(clean): $(common.l).o.clean \
$(common.l.cpp-options).clean \
$(addsuffix .cxx.clean,$(cxx_obj)) \
- $(addsuffix .cxx.clean,$(cxx_od))
+ $(addsuffix .cxx.clean,$(cxx_od)) \
+ $(addprefix $(out_base)/,$(cli_tun:.cli=.cxx.cli.clean))
$(call message,rm $$1,rm -f $$1,$(out_base)/config.h)
# Generated .gitignore.
@@ -105,7 +106,7 @@ $(clean): $(common.l).o.clean \
ifeq ($(out_base),$(src_base))
$(common.l): | $(out_base)/.gitignore
-$(out_base)/.gitignore: files := config.h
+$(out_base)/.gitignore: files := config.h $(genf)
$(clean): $(out_base)/.gitignore.clean
$(call include,$(bld_root)/git/gitignore.make)