summaryrefslogtreecommitdiffstats
path: root/tools/llvmc/example/mcc16/driver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvmc/example/mcc16/driver/Makefile')
-rw-r--r--tools/llvmc/example/mcc16/driver/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/llvmc/example/mcc16/driver/Makefile b/tools/llvmc/example/mcc16/driver/Makefile
new file mode 100644
index 0000000..ed9ebfd
--- /dev/null
+++ b/tools/llvmc/example/mcc16/driver/Makefile
@@ -0,0 +1,22 @@
+##===- llvmc/example/mcc16/driver/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)/..
+
+TOOLNAME = $(LLVMC_BASED_DRIVER_NAME)
+LLVMLIBS = CompilerDriver
+
+ifneq ($(LLVMC_BUILTIN_PLUGINS),)
+USEDLIBS += $(patsubst %,plugin_llvmc_%,$(LLVMC_BUILTIN_PLUGINS))
+endif
+
+LINK_COMPONENTS = support system
+REQUIRES_EH := 1
+
+include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud