summaryrefslogtreecommitdiffstats
path: root/PC/python3.mak
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-19 23:41:29 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-19 23:41:29 (GMT)
commit2658dd7cab487ee6361dba5a69623612dd69f448 (patch)
tree507a595c8a08fee827c94ddadc70fa4df179bf9c /PC/python3.mak
parentfb099c9ef134166ecaf3905c0d8b2995245f3ded (diff)
downloadcpython-2658dd7cab487ee6361dba5a69623612dd69f448.zip
cpython-2658dd7cab487ee6361dba5a69623612dd69f448.tar.gz
cpython-2658dd7cab487ee6361dba5a69623612dd69f448.tar.bz2
Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake.exe correctly.
Diffstat (limited to 'PC/python3.mak')
-rw-r--r--PC/python3.mak6
1 files changed, 5 insertions, 1 deletions
diff --git a/PC/python3.mak b/PC/python3.mak
index 2ec9185..9cf1807 100644
--- a/PC/python3.mak
+++ b/PC/python3.mak
@@ -5,6 +5,10 @@ $(OutDir)python33stub.lib: python33stub.def
lib /def:python33stub.def /out:$(OutDir)python33stub.lib /MACHINE:$(MACHINE)
clean:
- del $(OutDir)python3.dll $(OutDir)python3.lib $(OutDir)python33stub.lib $(OutDir)python3.exp $(OutDir)python33stub.exp
+ IF EXIST $(OutDir)python3.dll del $(OutDir)python3.dll
+ IF EXIST $(OutDir)python3.lib del $(OutDir)python3.lib
+ IF EXIST $(OutDir)python33stub.lib del $(OutDir)python33stub.lib
+ IF EXIST $(OutDir)python3.exp del $(OutDir)python3.exp
+ IF EXIST $(OutDir)python33stub.exp del $(OutDir)python33stub.exp
rebuild: clean $(OutDir)python3.dll