diff --git a/nettle/ChangeLog b/nettle/ChangeLog
index bbbb4e7d497d8131d95454df7439bef68bdaf63f..b8fb1abb9bc95da4a6983a2ae76c8c867a6636be 100644
--- a/nettle/ChangeLog
+++ b/nettle/ChangeLog
@@ -1,7 +1,11 @@
 2011-11-19  Niels M�ller  <nisse@lysator.liu.se>
 
 	Cygwin/mingw32 improvements contributed by Martin Storsj�:
-	* configure.ac: Setup installation of dll files in $bindir.
+	* Makefile.in (IMPLICIT_TARGETS): New variable for DLL link
+	libraries.
+	(clean-here): Delete the DLL import libraries.
+
+	* configure.ac: Setup installation of DLL files in $bindir.
 	(IF_DLL, LIBNETTLE_FILE_SRC, LIBHOGWEED_FILE_SRC): New
 	substitutions.
 
@@ -10,7 +14,7 @@
 	(LIBHOGWEED_FILE_SRC): Likewise.
 
 	* Makefile.in (install-dll-nettle, uninstall-dll-nettle): New
-	target for installing the dll file in $bindir.
+	target for installing the DLL file in $bindir.
 	(install-shared-nettle): Conditionally
 	depend on install-dll-nettle. Use LIBNETTLE_FILE_SRC.
 	(uninstall-shared-nettle): Conditionally depend on
diff --git a/nettle/Makefile.in b/nettle/Makefile.in
index a954f7feadce16ebd361fcac2233f18f82e8c477..c771f112abb1eb176aecd68e76de35bf940e3f33 100644
--- a/nettle/Makefile.in
+++ b/nettle/Makefile.in
@@ -25,6 +25,7 @@ SHLIBTARGETS = $(LIBNETTLE_FORLINK) @IF_HOGWEED@ $(LIBHOGWEED_FORLINK)
 
 TARGETS = aesdata$(EXEEXT) desdata$(EXEEXT) shadata$(EXEEXT) gcmdata$(EXEEXT)\
 	  $(LIBTARGETS) @IF_SHARED@ $(SHLIBTARGETS)
+IMPLICIT_TARGETS = @IF_DLL@ $(LIBNETTLE_FILE) $(LIBHOGWEED_FILE)
 
 DOCTARGETS = nettle.info nettle.html nettle.pdf
 
@@ -455,7 +456,7 @@ distcheck: dist
 	$(rm_distcheck)
 
 clean-here:
-	-rm -f $(TARGETS) *.$(OBJEXT) *.p$(OBJEXT) *.s
+	-rm -f $(TARGETS) $(IMPLICIT_TARGETS) *.$(OBJEXT) *.p$(OBJEXT) *.s
 	-rm -rf .lib
 
 distclean-here: clean-here