From e050ae845e6b67b8cbdbf7786528378abd71a771 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Tue, 11 Feb 2020 12:57:12 +0800 Subject: [PATCH] win32/build-tcc.bat: clean .o in win32/lib commit ef42295fe802c881a42c8983f1638ff302e63a6c intrduced 4 .o files to win32/lib. But they (bcheck.o, bt-dll.o, bt-exe.o and bt-log.o) are not removed by "win32/build-tcc.bat -clean". This commit should fix it. --- win32/build-tcc.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/build-tcc.bat b/win32/build-tcc.bat index 8b93bf7..e3ec5b7 100644 --- a/win32/build-tcc.bat +++ b/win32/build-tcc.bat @@ -53,7 +53,7 @@ for %%f in (*tcc.exe libtcc.dll lib\*.a) do call :del_file %%f for %%f in (..\config.h ..\config.texi) do call :del_file %%f for %%f in (include\*.h) do @if exist ..\%%f call :del_file %%f for %%f in (include\tcclib.h examples\libtcc_test.c) do call :del_file %%f -for %%f in (*.o *.obj *.def *.pdb *.lib *.exp *.ilk) do call :del_file %%f +for %%f in (lib\*.o *.o *.obj *.def *.pdb *.lib *.exp *.ilk) do call :del_file %%f %LOG% removing directories: for %%f in (doc libtcc) do call :del_dir %%f %LOG% done.