summaryrefslogtreecommitdiffstats
path: root/tools/llvmc/example/mcc16/plugins/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvmc/example/mcc16/plugins/Makefile')
-rw-r--r--tools/llvmc/example/mcc16/plugins/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/llvmc/example/mcc16/plugins/Makefile b/tools/llvmc/example/mcc16/plugins/Makefile
new file mode 100644
index 0000000..fb07f23
--- /dev/null
+++ b/tools/llvmc/example/mcc16/plugins/Makefile
@@ -0,0 +1,18 @@
+##===- llvmc/example/Skeleton/plugins/Makefile -------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open
+# Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = $(LLVMC_BASE_LEVEL)/..
+
+ifneq ($(LLVMC_BUILTIN_PLUGINS),)
+DIRS = $(LLVMC_BUILTIN_PLUGINS)
+endif
+
+export LLVMC_BUILTIN_PLUGIN=1
+
+include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud