summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-19 20:09:14 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-19 20:09:14 +0000
commitf3b4755aa0eb6f8dd72c41f267b5438d9a03d0d8 (patch)
treeecc79fb424ced9e0ac3d8a05c7861c84abcb8ab3 /examples/Makefile
parent95ab78af3cf0d440f159c2d549e0564b74f12364 (diff)
Make the SmallExamples programs compile in their new home.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
new file mode 100644
index 00000000000..6c53f72c387
--- /dev/null
+++ b/examples/Makefile
@@ -0,0 +1,16 @@
+##===- projects/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=
+OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile))
+
+include $(BUILD_SRC_ROOT)/Makefile.rules