aboutsummaryrefslogtreecommitdiff
path: root/source/API/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'source/API/Makefile')
-rw-r--r--source/API/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/API/Makefile b/source/API/Makefile
new file mode 100644
index 000000000000..e35b2c37735e
--- /dev/null
+++ b/source/API/Makefile
@@ -0,0 +1,18 @@
+##===- source/API/Makefile ---------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LLDB_LEVEL := ../..
+LIBRARYNAME := lldbAPI
+BUILD_ARCHIVE = 1
+
+include $(LLDB_LEVEL)/Makefile
+
+ifeq ($(HOST_OS),MingW)
+CXXFLAGS += -DEXPORT_LIBLLDB
+endif