summaryrefslogtreecommitdiffstats
path: root/PC/python3.mak
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-19 23:50:38 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-19 23:50:38 (GMT)
commit888dcc32cd8bb0d5169c461468a405004781811c (patch)
tree2c8d065c45b48c33ab9826f112c6b7f379564245 /PC/python3.mak
parent6715828d89fcb70f6a398f7488c090763acf0084 (diff)
parent2658dd7cab487ee6361dba5a69623612dd69f448 (diff)
downloadcpython-888dcc32cd8bb0d5169c461468a405004781811c.zip
cpython-888dcc32cd8bb0d5169c461468a405004781811c.tar.gz
cpython-888dcc32cd8bb0d5169c461468a405004781811c.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 8f9d468..fb8e7aa 100644
--- a/PC/python3.mak
+++ b/PC/python3.mak
@@ -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