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%