summaryrefslogtreecommitdiffstats
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
commit300396971c29edefef8bde7a6faf825d7cd877fb (patch)
tree759e6aa583d53c86835f1b65277ad12d5c9096fc
parent39efd01983c90aaed28a66fb06af7103efb4bbdc (diff)
downloadbcm5719-llvm-300396971c29edefef8bde7a6faf825d7cd877fb.tar.gz
bcm5719-llvm-300396971c29edefef8bde7a6faf825d7cd877fb.zip
Fix Title line
Make the "DIRS" option descend any directory with a Makefile. llvm-svn: 16001
-rw-r--r--llvm/examples/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/examples/Makefile b/llvm/examples/Makefile
new file mode 100644
index 00000000000..c94b7017a0e
--- /dev/null
+++ b/llvm/examples/Makefile
@@ -0,0 +1,15 @@
+##===- examples/Makefile -----------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by the LLVM research group and is distributed under
+# the University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+LEVEL=../..
+
+include $(LEVEL)/Makefile.config
+
+DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
+
+include $(BUILD_SRC_ROOT)/Makefile.rules
OpenPOWER on IntegriCloud