summaryrefslogtreecommitdiffstats
path: root/tools/llvmc/example/mcc16/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvmc/example/mcc16/Makefile')
-rw-r--r--tools/llvmc/example/mcc16/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/llvmc/example/mcc16/Makefile b/tools/llvmc/example/mcc16/Makefile
new file mode 100644
index 0000000..efc9d2d
--- /dev/null
+++ b/tools/llvmc/example/mcc16/Makefile
@@ -0,0 +1,24 @@
+##===- llvmc/example/mcc16/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.
+export LLVMC_BASE_LEVEL = ../../../..
+
+# Change this to the name of your LLVMC-based driver.
+export LLVMC_BASED_DRIVER_NAME = mcc16
+
+# List your plugin names here
+export LLVMC_BUILTIN_PLUGINS = PIC16Base
+
+LEVEL = $(LLVMC_BASE_LEVEL)
+
+DIRS = plugins driver
+
+include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud