diff options
author | Martin Liska <mliska@suse.cz> | 2015-11-19 13:32:09 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2015-11-19 12:32:09 +0000 |
commit | daa53f38eeff5a6de8c6e345f6e0aa4385b514ec (patch) | |
tree | 9bd3a39bf02de03eef899fbbd13c59cea15633df /Makefile.in | |
parent | 05f44cf5de90b7adf109cda8ad30f6fa0268b9ca (diff) | |
download | gcc-daa53f38eeff5a6de8c6e345f6e0aa4385b514ec.tar.gz |
Add clang-format config to contrib folder
* .gitignore: Add .clang-format to ignored files.
* Makefile.in: Add clang-format.
* Makefile.tpl: Likewise.
* clang-format: New file.
From-SVN: r230601
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index bc2bae6d7fa..75caafd1595 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2461,6 +2461,15 @@ vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc .PHONY: vimrc +# clang-format config + +$(srcdir)/.clang-format: + $(LN_S) contrib/clang-format $@ + +clang-format: $(srcdir)/.clang-format + +.PHONY: clang-format + # Installation targets. .PHONY: install uninstall |