aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwinbuild/gen_resp_file.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/winbuild/gen_resp_file.bat b/winbuild/gen_resp_file.bat
index 434f36963..c640cee09 100755
--- a/winbuild/gen_resp_file.bat
+++ b/winbuild/gen_resp_file.bat
@@ -1,5 +1,7 @@
@echo OFF
-@del %OUTFILE%
+@if exist %OUTFILE% (
+ del %OUTFILE%
+)
@echo %MACRO_NAME% = \> %OUTFILE%
@for %%i in (%*) do @echo %DIROBJ%/%%i \>> %OUTFILE%
@echo. >> %OUTFILE%