summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-23 18:06:31 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-23 18:06:31 +0000
commitc21214ac59735dc71cbbd923ff284a3d60146303 (patch)
tree9c306077b666ab019c92a95ce5039f38cacf95b4 /examples
parent03ea9d4ee0fde29b900e2642ebb2debe5d63a4c0 (diff)
downloadllvm-c21214ac59735dc71cbbd923ff284a3d60146303.tar.gz
llvm-c21214ac59735dc71cbbd923ff284a3d60146303.tar.bz2
llvm-c21214ac59735dc71cbbd923ff284a3d60146303.tar.xz
Fix Title line
Make the "DIRS" option descend any directory with a Makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 9bf67bf2d4..c94b7017a0 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,4 +1,4 @@
-##===- projects/Makefile ------------------------------*- Makefile -*-===##
+##===- examples/Makefile -----------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
@@ -10,6 +10,6 @@ LEVEL=../..
include $(LEVEL)/Makefile.config
-DIRS = Fibonacci HowToUseJIT
+DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
include $(BUILD_SRC_ROOT)/Makefile.rules