summaryrefslogtreecommitdiffstats
path: root/PC/python3.mak
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-12-05 23:07:58 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-12-05 23:07:58 (GMT)
commitd53ee5dd12388b9c53ae2f005583a9cd97055b4e (patch)
treef1b6b4759ce041e89be7cc3182b5562195033139 /PC/python3.mak
parentf645b0ebee20c336dd4256c769438de2fded4084 (diff)
downloadcpython-d53ee5dd12388b9c53ae2f005583a9cd97055b4e.zip
cpython-d53ee5dd12388b9c53ae2f005583a9cd97055b4e.tar.gz
cpython-d53ee5dd12388b9c53ae2f005583a9cd97055b4e.tar.bz2
Automate build for python3.dll.
Package missing files.
Diffstat (limited to 'PC/python3.mak')
-rw-r--r--PC/python3.mak10
1 files changed, 10 insertions, 0 deletions
diff --git a/PC/python3.mak b/PC/python3.mak
new file mode 100644
index 0000000..821fd9f
--- /dev/null
+++ b/PC/python3.mak
@@ -0,0 +1,10 @@
+$(OutDir)python32.dll: python3.def $(OutDir)python32stub.lib
+ cl /LD /Fe$(OutDir)python3.dll python3dll.c python3.def $(OutDir)python32stub.lib
+
+$(OutDir)python32stub.lib: python32stub.def
+ lib /def:python32stub.def /out:$(OutDir)python32stub.lib /MACHINE:$(MACHINE)
+
+clean:
+ del $(OutDir)python3.dll $(OutDir)python3.lib $(OutDir)python32stub.lib $(OutDir)python3.exp $(OutDir)python32stub.exp
+
+rebuild: clean $(OutDir)python32.dll