remove static libraries and recreate them to avoid stale object files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2001-10-31 23:30:45 +00:00
parent b53e38fed5
commit 65fd49a434

View File

@ -315,11 +315,13 @@ all: @WX_ALL@
$(build_libdir)/@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
@$(INSTALL) -d $(build_libdir)
@$(RM) $@
$(AR) $(AROPTIONS) $@ $(OBJECTS)
$(RANLIB) $@
$(build_libdir)/@WX_LIBRARY_NAME_STATIC_GL@: glcanvas.o
@$(INSTALL) -d $(build_libdir)
@$(RM) $@
$(AR) $(AROPTIONS) $@ glcanvas.o
$(RANLIB) $@