diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-11-21 09:38:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-11-21 09:38:29 +0200 |
commit | 8b22f52b002668270af8706fca039b0c39a1680e (patch) | |
tree | e1665af41de6e72c4806dadb1bfbd182db7a2025 /xsd-frontend/makefile | |
parent | ec5e0d9b207cae31f94655f336bcfb0e42e1a84b (diff) |
Add support for not cleaning generated files (m4)
Diffstat (limited to 'xsd-frontend/makefile')
-rw-r--r-- | xsd-frontend/makefile | 7 |
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. # |