makedep: Let umask decide mode for makefiles.
diff --git a/tools/makedep.c b/tools/makedep.c
index 7941ea0..4194073 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -878,7 +878,7 @@
     for (i = 0; i < 100; i++)
     {
         sprintf( name, "%s.tmp%08x", OutputFileName, id );
-        if ((fd = open( name, O_RDWR | O_CREAT | O_EXCL, 0600 )) != -1)
+        if ((fd = open( name, O_RDWR | O_CREAT | O_EXCL, 0666 )) != -1)
         {
             ret = fdopen( fd, "w" );
             break;