tools: Remove archive lock file in make distclean
Remove temporary archive lock file (xxx.a.lock) by make distclean because the file may be generated by archive with flock command.
This commit is contained in:
parent
5439275293
commit
1226f3ffef
@ -584,11 +584,12 @@ define CLEAN
|
|||||||
$(Q) if exist (del /f /q .*.swp)
|
$(Q) if exist (del /f /q .*.swp)
|
||||||
$(call DELFILE,$(subst /,\,$(OBJS)))
|
$(call DELFILE,$(subst /,\,$(OBJS)))
|
||||||
$(Q) if exist $(BIN) (del /f /q $(subst /,\,$(BIN)))
|
$(Q) if exist $(BIN) (del /f /q $(subst /,\,$(BIN)))
|
||||||
|
$(Q) if exist $(BIN).lock (del /f /q $(subst /,\,$(BIN).lock))
|
||||||
$(Q) if exist $(EXTRA) (del /f /q $(subst /,\,$(EXTRA)))
|
$(Q) if exist $(EXTRA) (del /f /q $(subst /,\,$(EXTRA)))
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define CLEAN
|
define CLEAN
|
||||||
$(Q) rm -f *$(OBJEXT) *$(LIBEXT) *~ .*.swp $(OBJS) $(BIN) $(EXTRA)
|
$(Q) rm -f *$(OBJEXT) *$(LIBEXT) *~ .*.swp $(OBJS) $(BIN) $(BIN).lock $(EXTRA)
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user