mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake.exe correctly.
This commit is contained in:
commit
888dcc32cd
3 changed files with 14 additions and 7 deletions
|
@ -5,6 +5,10 @@ $(OutDir)python34stub.lib: python34stub.def
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue