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.tpl | |
parent | 05f44cf5de90b7adf109cda8ad30f6fa0268b9ca (diff) | |
download | gcc-daa53f38eeff5a6de8c6e345f6e0aa4385b514ec.zip gcc-daa53f38eeff5a6de8c6e345f6e0aa4385b514ec.tar.gz gcc-daa53f38eeff5a6de8c6e345f6e0aa4385b514ec.tar.bz2 |
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.tpl')
-rw-r--r-- | Makefile.tpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index 660e1e4..beabadc 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -889,6 +889,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 |