[llvm-commits] CVS: llvm/examples/Makefile

Reid Spencer reid at x10sys.com
Mon Aug 23 11:06:42 PDT 2004



Changes in directory llvm/examples:

Makefile updated: 1.2 -> 1.3
---
Log message:

Fix Title line
Make the "DIRS" option descend any directory with a Makefile.


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

Index: llvm/examples/Makefile
diff -u llvm/examples/Makefile:1.2 llvm/examples/Makefile:1.3
--- llvm/examples/Makefile:1.2	Thu Aug 19 20:11:16 2004
+++ llvm/examples/Makefile	Mon Aug 23 13:06:31 2004
@@ -1,4 +1,4 @@
-##===- projects/Makefile ------------------------------*- Makefile -*-===##
+##===- examples/Makefile -----------------------------------*- Makefile -*-===##
 # 
 #                     The LLVM Compiler Infrastructure
 #
@@ -10,6 +10,6 @@
 
 include $(LEVEL)/Makefile.config
 
-DIRS = Fibonacci HowToUseJIT
+DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
 
 include $(BUILD_SRC_ROOT)/Makefile.rules






More information about the llvm-commits mailing list