diff PC/python3.mak @ 66755:062907f685ac

Automate build for python3.dll. Package missing files.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 05 Dec 2010 23:07:58 +0000
parents
children 1ea492ea40fd 0f52cfc91fae
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PC/python3.mak	Sun Dec 05 23:07:58 2010 +0000
@@ -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