aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-frontend/makefile')
-rw-r--r--xsd-frontend/makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/xsd-frontend/makefile b/xsd-frontend/makefile
index 3f62bf0..85003da 100644
--- a/xsd-frontend/makefile
+++ b/xsd-frontend/makefile
@@ -93,8 +93,11 @@ $(out_base)/: $(xsd_frontend.l)
$(clean): $(xsd_frontend.l).o.clean \
$(xsd_frontend.l.cpp-options).clean \
$(addsuffix .cxx.clean,$(cxx_obj)) \
- $(addsuffix .cxx.clean,$(cxx_od)) \
- $(addsuffix .m4.clean,$(m4_cxx))
+ $(addsuffix .cxx.clean,$(cxx_od))
+
+ifneq ($(libxsd_frontend_clean_gen),n)
+$(clean): $(addsuffix .m4.clean,$(m4_cxx))
+endif
# Generated .gitignore.
#