[llvm-commits] CVS: llvm/Makefile

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 3 17:06:03 PST 2004


Changes in directory llvm:

Makefile updated: 1.18 -> 1.19

---
Log message:

Revised version of a patch for PR222 that works with my version of gmake.


---
Diffs of the changes:  (+6 -2)

Index: llvm/Makefile
diff -u llvm/Makefile:1.18 llvm/Makefile:1.19
--- llvm/Makefile:1.18	Tue Feb  3 16:56:40 2004
+++ llvm/Makefile	Tue Feb  3 17:05:24 2004
@@ -7,9 +7,14 @@
 # 
 ##===----------------------------------------------------------------------===##
 LEVEL = .
-DIRS = lib/Support utils lib tools runtime
+DIRS = lib/Support utils lib tools 
 OPTIONAL_DIRS = projects
 
+ifneq ($(MAKECMDGOALS),tools-only)
+DIRS += runtime
+endif
+
+
 include $(LEVEL)/Makefile.common
 
 test :: all
@@ -22,7 +27,6 @@
 	                  $(LEVEL)/config.log \
 	                  $(LEVEL)/TAGS
 
-tools-only: DIRS = $(DIRS:runtime=)
 tools-only: all
 
 configure: autoconf/configure.ac autoconf/aclocal.m4





More information about the llvm-commits mailing list