diff --git a/ChangeLog b/ChangeLog
index 08686f54dc3c15c8ed0fc71c46b622d052d94c86..966b9d60b8cefcf0114cc86d0cbea0930b4d4a5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-10-22  Niels Möller  <nisse@lysator.liu.se>
+
+	* Makefile.in (clean-here): Unconditionally delete .so and .dll
+	files.
+	(IMPLICIT_TARGETS): Deleted variable.
+
 2014-10-21  Niels Möller  <nisse@lysator.liu.se>
 
 	* testsuite/ed25519-test.c: New test case. Optionally reads the
diff --git a/Makefile.in b/Makefile.in
index 19269af978c9b5d6ffd65b9b389d0b2aaaaf055c..10a58b0b269fc16e0be54be0756dea58fa46e8e7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -40,7 +40,6 @@ TARGETS = aesdata$(EXEEXT_FOR_BUILD) desdata$(EXEEXT_FOR_BUILD) \
           gcmdata$(EXEEXT_FOR_BUILD) \
 	  $(getopt_TARGETS) $(internal_TARGETS) \
 	  $(LIBTARGETS) $(SHLIBTARGETS)
-IMPLICIT_TARGETS = @IF_DLL@ $(LIBNETTLE_FILE) $(LIBHOGWEED_FILE)
 
 DOCTARGETS = @IF_DOCUMENTATION@ nettle.info nettle.html nettle.pdf
 
@@ -611,7 +610,7 @@ distcheck: dist
 	$(rm_distcheck)
 
 clean-here:
-	-rm -f $(TARGETS) $(IMPLICIT_TARGETS) *.$(OBJEXT) *.s \
+	-rm -f $(TARGETS) *.$(OBJEXT) *.s *.so *.dll \
 		ecc-192.h ecc-224.h ecc-256.h ecc-384.h ecc-521.h ecc-25519.h \
 		eccdata$(EXEEXT_FOR_BUILD) eccdata.stamp
 	-rm -rf .lib libnettle.stamp libhogweed.stamp