Georg Brandl | 08a9012 | 2012-09-29 09:34:13 +0200 | [diff] [blame] | 1 | $(OutDir)python3.dll: python3.def $(OutDir)python34stub.lib |
| 2 | cl /LD /Fe$(OutDir)python3.dll python3dll.c python3.def $(OutDir)python34stub.lib |
Antoine Pitrou | 71219da | 2011-02-25 14:31:09 +0000 | [diff] [blame] | 3 | |
Georg Brandl | 08a9012 | 2012-09-29 09:34:13 +0200 | [diff] [blame] | 4 | $(OutDir)python34stub.lib: python34stub.def |
| 5 | lib /def:python34stub.def /out:$(OutDir)python34stub.lib /MACHINE:$(MACHINE) |
Antoine Pitrou | 71219da | 2011-02-25 14:31:09 +0000 | [diff] [blame] | 6 | |
| 7 | clean: |
Christian Heimes | 2658dd7 | 2013-11-20 00:41:29 +0100 | [diff] [blame] | 8 | IF EXIST $(OutDir)python3.dll del $(OutDir)python3.dll |
| 9 | IF EXIST $(OutDir)python3.lib del $(OutDir)python3.lib |
Christian Heimes | 888dcc3 | 2013-11-20 00:50:38 +0100 | [diff] [blame] | 10 | IF EXIST $(OutDir)python34stub.lib del $(OutDir)python34stub.lib |
Christian Heimes | 2658dd7 | 2013-11-20 00:41:29 +0100 | [diff] [blame] | 11 | IF EXIST $(OutDir)python3.exp del $(OutDir)python3.exp |
Christian Heimes | 888dcc3 | 2013-11-20 00:50:38 +0100 | [diff] [blame] | 12 | IF EXIST $(OutDir)python34stub.exp del $(OutDir)python34stub.exp |
Antoine Pitrou | 71219da | 2011-02-25 14:31:09 +0000 | [diff] [blame] | 13 | |
Martin v. Löwis | 7349eb2 | 2012-06-23 19:36:08 +0200 | [diff] [blame] | 14 | rebuild: clean $(OutDir)python3.dll |