summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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")