[Libreoffice-commits] dev-tools.git: clang/Makefile
Miklos Vajna
vmiklos at collabora.co.uk
Fri Nov 13 06:59:13 PST 2015
clang/Makefile | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit b545ab79cd0f0f47b814654e6479d875aa251209
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Nov 13 15:57:53 2015 +0100
clang: build bin/find-unprefixed-members{,-wrapper} by default
Change-Id: Ia4d5a7dae1da9ed83836deca8d868a8c0468bd3d
diff --git a/clang/Makefile b/clang/Makefile
index 70004cc..578158e 100644
--- a/clang/Makefile
+++ b/clang/Makefile
@@ -3,12 +3,17 @@ CLANGWARNS=-Werror -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -
CLANGFLAGS = $(CLANGDEFS) $(CLANGWARNS) -g -std=c++11
CLANGLIBS = -lLLVMSupport -lclangAST -lclangBasic -lclangFrontend -lclangRewrite -lclangTooling
+all: bin/rename bin/find-unprefixed-members bin/find-unprefixed-members-wrapper
+
bin/rename: rename.cxx Makefile
clang++ $(CLANGFLAGS) $(CLANGLIBS) -o $@ $<
bin/find-unprefixed-members: find-unprefixed-members.cxx Makefile
clang++ $(CLANGFLAGS) $(CLANGLIBS) -o $@ $<
+bin/find-unprefixed-members-wrapper: bin/rename-wrapper Makefile
+ sed 's/rename/find-unprefixed-members/' $< > $@
+
test: test.cxx test.hxx Makefile
clang++ -o test test.cxx
More information about the Libreoffice-commits
mailing list