include $(top_builddir)/src/make.env
-
all: libtype_@WX_TARGET_LIBRARY_TYPE@
libtype_so: $(top_builddir)/lib/$(TARGETLIB_SHARED)
libtype_a: $(top_builddir)/lib/$(TARGETLIB_STATIC)
-
$(top_builddir)/lib/$(TARGETLIB_SHARED): $(OBJECTS)
@$(INSTALL) -d $(top_builddir)/lib
$(SHARED_LD) $@ $(TARGETLIB_SONAME) $(OBJECTS)
$(top_builddir)/lib/$(TARGETLIB_STATIC): $(OBJECTS)
@$(INSTALL) -d $(top_builddir)/lib
- ar $(AROPTIONS) $@ $(OBJECTS)
+ @$(RM) $@
+ $(AR) $(AROPTIONS) $@ $(OBJECTS)
$(RANLIB) $@
install: install_@WX_TARGET_LIBRARY_TYPE@ install_headers