Added implib rule for building import libs.
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index a56b0c9..1416a61 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -1606,7 +1606,7 @@
doc-sgml: $(SUBDIRS:%=%/__doc_sgml__)
-.PHONY: man doc-html doc-sgml $(SUBDIRS:%=%/__man__) $(SUBDIRS:%=%/__doc_html__) $(SUBDIRS:%=%/__doc_sgml__)
+.PHONY: man doc-html doc-sgml implib $(SUBDIRS:%=%/__man__) $(SUBDIRS:%=%/__doc_html__) $(SUBDIRS:%=%/__doc_sgml__)
# Misc rules
@@ -1620,6 +1620,8 @@
$(RM) $(IMPORT_LIBS:%=$(dlldir)/%.$(IMPLIBEXT))
-rmdir $(dlldir)
+implib: $(IMPORT_LIBS:%=%.$(IMPLIBEXT))
+
clean::
$(RM) $(IMPORT_LIBS:%=%.a) $(IMPORT_LIBS:%=%.def) $(SYMLINKS)
diff --git a/dlls/make_dlls b/dlls/make_dlls
index be6485f..4d808ef 100755
--- a/dlls/make_dlls
+++ b/dlls/make_dlls
@@ -279,7 +279,7 @@
doc-sgml: \$(SUBDIRS:%=%/__doc_sgml__)
-.PHONY: man doc-html doc-sgml \$(SUBDIRS:%=%/__man__) \$(SUBDIRS:%=%/__doc_html__) \$(SUBDIRS:%=%/__doc_sgml__)
+.PHONY: man doc-html doc-sgml implib \$(SUBDIRS:%=%/__man__) \$(SUBDIRS:%=%/__doc_html__) \$(SUBDIRS:%=%/__doc_sgml__)
# Misc rules
@@ -293,6 +293,8 @@
\$(RM) \$(IMPORT_LIBS:%=\$(dlldir)/%.\$(IMPLIBEXT))
-rmdir \$(dlldir)
+implib: \$(IMPORT_LIBS:%=%.\$(IMPLIBEXT))
+
clean::
\$(RM) \$(IMPORT_LIBS:%=%.a) \$(IMPORT_LIBS:%=%.def) \$(SYMLINKS)