* llvm.spec.in: update blurb
[oota-llvm.git] / Makefile
index 7a9e7112e36ef28a60feeb9b6968ceaf1d11cf60..0be1f122aac15f7637ffb9a49dec2fb19f5e3a43 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ LEVEL := .
 #
 DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \
         tools runtime docs
-        
+
 OPTIONAL_DIRS := examples projects
 EXTRA_DIST := test llvm.spec include win32 Xcode
 
@@ -128,4 +128,12 @@ show-footprint:
        $(Verb) du -sk $(ExmplDir)
        $(Verb) du -sk $(ObjDir)
 
+build-for-llvm-top:
+       $(Verb) if test ! -f ./config.status ; then \
+         ./configure --prefix="$(LLVM_TOP)/install" \
+           --with-llvm-gcc="$(LLVM_TOP)/llvm-gcc" ; \
+       fi
+       $(Verb) $(MAKE) tools-only
+
 .PHONY: srpm rpm
+