[cfe-commits] r106386 - /cfe/trunk/Makefile
Chris Lattner
sabre at nondot.org
Fri Jun 18 23:35:26 PDT 2010
Author: lattner
Date: Sat Jun 19 01:35:25 2010
New Revision: 106386
URL: http://llvm.org/viewvc/llvm-project?rev=106386&view=rev
Log:
add a libs-only target to the clang makefile, patch by Sunay Ismail
in PR7397
Modified:
cfe/trunk/Makefile
Modified: cfe/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Makefile?rev=106386&r1=106385&r2=106386&view=diff
==============================================================================
--- cfe/trunk/Makefile (original)
+++ cfe/trunk/Makefile Sat Jun 19 01:35:25 2010
@@ -23,6 +23,11 @@
endif
endif
+ifeq ($(MAKECMDGOALS),libs-only)
+ DIRS := $(filter-out tools docs, $(DIRS))
+ OPTIONAL_DIRS :=
+endif
+
###
# Common Makefile code, shared by all Clang Makefiles.
@@ -69,6 +74,8 @@
clean::
@ $(MAKE) -C test clean
+
+libs-only: all
tags::
$(Verb) etags `find . -type f -name '*.h' -or -name '*.cpp' | \
More information about the cfe-commits
mailing list