For users of https://github.com/Rip-Rip/clang_complete, this allows to
always keep the .clang_complete file in sync with CFLAGS.
--- /dev/null
+@cflags-one-per-line@
po/remove-potcdate.sin
po/Rules-quot
po/neomutt.pot
+.clang_complete
html
distclean: clean
$(RM) $(DEPFILES) conststrings.c config.h config.log doc/neomutt.1 \
Makefile po/Makefile contrib/Makefile doc/Makefile \
- test/Makefile autosetup/jimsh0
+ test/Makefile autosetup/jimsh0 .clang_complete
##############################################################################
# include generated dependency files
define docdir [get-define PKGDOCDIR]
make-template doc/neomutt.man doc/neomutt.1
+###############################################################################
+# Generate .clang_complete
+define cflags-one-per-line [string map {" " "\n"} [get-define CFLAGS]]
+make-template .clang_complete.in
+
###############################################################################
# Print a summary
user-notice "Summary of build options: