summaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/d2sqlite3/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/d2sqlite3/lib/Makefile')
-rw-r--r--src/ext_depends/d2sqlite3/lib/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ext_depends/d2sqlite3/lib/Makefile b/src/ext_depends/d2sqlite3/lib/Makefile
new file mode 100644
index 0000000..8789808
--- /dev/null
+++ b/src/ext_depends/d2sqlite3/lib/Makefile
@@ -0,0 +1,16 @@
+# This must be run from a VS Native Tools command interpreter, or after running
+# vcvarsall.bat
+
+.PHONY: all x86 x64
+
+all: x86 x64
+
+x86: win32\sqlite3.lib
+
+x64: win64\sqlite3.lib
+
+win32\sqlite3.lib: win32\sqlite3.dll
+ +lib /def:win32\sqlite3.def /out:win32\sqlite3.lib /machine:x86
+
+win64\sqlite3.lib: win64\sqlite3.dll
+ +lib /def:win64\sqlite3.def /out:win64\sqlite3.lib /machine:x64