OSDN Git Service

Fix Title line
authorReid Spencer <rspencer@reidspencer.com>
Mon, 23 Aug 2004 18:06:31 +0000 (18:06 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 23 Aug 2004 18:06:31 +0000 (18:06 +0000)
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

examples/Makefile

index 9bf67bf..c94b701 100644 (file)
@@ -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