diff --git a/doc/Doxydep b/doc/Doxydep
index da4f2f30ebfce15437a99d911d70d851a3c5020f..c8d0c68b4f75bbf4381e95eefdd9394cb9692549 100755
--- a/doc/Doxydep
+++ b/doc/Doxydep
@@ -20,7 +20,8 @@ if (! $target) { $target = $defaulttarget };
 sub addDep ($) {
 	my $dep = shift;
 	if (defined($dep) && ! $dep eq "") {
-		print DEPFILE "$target: $dep\n";
+		print DEPFILE "$target: $dep\n\n";
+		print DEPFILE "$dep:\n\n";
 	}
 }