Mercurial > cpython-lru_cache-weakref
diff PC/python3.mak @ 87284:5645792a524f
Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake.exe correctly.
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Wed, 20 Nov 2013 00:50:38 +0100 |
| parents | 1085b0e475d8 748f007b23fd |
| children |
line wrap: on
line diff
--- a/PC/python3.mak Wed Nov 20 00:14:49 2013 +0100 +++ b/PC/python3.mak Wed Nov 20 00:50:38 2013 +0100 @@ -5,6 +5,10 @@ lib /def:python34stub.def /out:$(OutDir)python34stub.lib /MACHINE:$(MACHINE) clean: - del $(OutDir)python3.dll $(OutDir)python3.lib $(OutDir)python34stub.lib $(OutDir)python3.exp $(OutDir)python34stub.exp + IF EXIST $(OutDir)python3.dll del $(OutDir)python3.dll + IF EXIST $(OutDir)python3.lib del $(OutDir)python3.lib + IF EXIST $(OutDir)python34stub.lib del $(OutDir)python34stub.lib + IF EXIST $(OutDir)python3.exp del $(OutDir)python3.exp + IF EXIST $(OutDir)python34stub.exp del $(OutDir)python34stub.exp rebuild: clean $(OutDir)python3.dll
