--- debug.h	2005/12/14 03:29:14	1.1
+++ debug.h	2005/12/14 03:30:33
@@ -23,6 +23,7 @@
 #define DB_VERBOSE      (0x002)
 #define DB_JOBS         (0x004)
 #define DB_IMPLICIT     (0x008)
+#define DB_ECHO_MAKEFILES (0x010)
 #define DB_MAKEFILES    (0x100)
 
 #define DB_ALL          (0xfff)
--- main.c	2005/12/14 03:30:36	1.1
+++ main.c	2005/12/14 03:42:53
@@ -626,6 +626,9 @@
             case 'v':
               db_level |= DB_BASIC | DB_VERBOSE;
               break;
+            case 'h':
+              db_level |= DB_ECHO_MAKEFILES;
+              break;
             default:
               fatal (NILF, _("unknown debug level specification `%s'"), p);
             }
--- read.c	2005/12/14 03:32:57	1.1
+++ read.c	2005/12/14 03:40:40
@@ -366,6 +366,11 @@
 	}
     }
 
+
+  if( ISDB (DB_ECHO_MAKEFILES)) 
+	printf("%s[%d]: read %s\n", program, makelevel, filename);
+  
+  
   /* Add FILENAME to the chain of read makefiles.  */
   deps = (struct dep *) xmalloc (sizeof (struct dep));
   deps->next = read_makefiles;
