summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-10 01:38:20 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-10 01:38:20 (GMT)
commit528db31bd90fcf2603e7bcc416e010674872e6d3 (patch)
treebd8a517cfa84ba24c610cc8d674578bc9c178e11
parentf2bdb6b8ca9e1584fae71ab27e1ed2a93861095a (diff)
downloadcpython-528db31bd90fcf2603e7bcc416e010674872e6d3.zip
cpython-528db31bd90fcf2603e7bcc416e010674872e6d3.tar.gz
cpython-528db31bd90fcf2603e7bcc416e010674872e6d3.tar.bz2
Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
-rw-r--r--Misc/NEWS2
-rw-r--r--Tools/freeze/winmakemakefile.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 79717c3..443609a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -301,6 +301,8 @@ Windows
Build
-----
+- Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
+
- Issue #27705: Update message in validate_ucrtbase.py
- Issue #27983: Cause lack of llvm-profdata tool when using clang as
diff --git a/Tools/freeze/winmakemakefile.py b/Tools/freeze/winmakemakefile.py
index 3843388..390d8ac 100644
--- a/Tools/freeze/winmakemakefile.py
+++ b/Tools/freeze/winmakemakefile.py
@@ -144,5 +144,5 @@ def realwork(vars, moddefns, target):
print("<<")
print()
print("clean:")
- print("\t-rm -f *.obj")
- print("\t-rm -f $(target).exe")
+ print("\t-del /f *.obj")
+ print("\t-del /f $(target).exe")