summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/llvmc/example/Skeleton/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/tools/llvmc/example/Skeleton/Makefile')
-rw-r--r--contrib/llvm/tools/llvmc/example/Skeleton/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/llvm/tools/llvmc/example/Skeleton/Makefile b/contrib/llvm/tools/llvmc/example/Skeleton/Makefile
new file mode 100644
index 0000000..f489abf
--- /dev/null
+++ b/contrib/llvm/tools/llvmc/example/Skeleton/Makefile
@@ -0,0 +1,24 @@
+##===- llvmc/example/Skeleton/Makefile ---------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open
+# Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+# Change this so that $(BASE_LEVEL)/Makefile.common refers to
+# $LLVM_DIR/Makefile.common or $YOUR_LLVM_BASED_PROJECT/Makefile.common.
+export LLVMC_BASE_LEVEL = ../../../..
+
+# Change this to the name of your LLVMC-based driver.
+export LLVMC_BASED_DRIVER_NAME = llvmc-skeleton
+
+# List your plugin names here
+export LLVMC_BUILTIN_PLUGINS = # Plugin
+
+LEVEL = $(LLVMC_BASE_LEVEL)
+
+DIRS = plugins driver
+
+include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud