chiark / gitweb /
wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 11 Nov 2019 00:57:54 +0000 (00:57 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 11 Nov 2019 00:57:54 +0000 (00:57 +0000)
.gitignore
Perdir.mk.in
build-aux/subdirmk-setup

index 2bd52df..0e76771 100644 (file)
@@ -8,6 +8,10 @@
 
 ## Autoconf cruft.
 Makefile
+Subdir.mk
+/subdirs.mk
+*.tmp
+
 /autom4te.cache/
 /config.log
 /config.status
index 4e5bb31..06f595f 100644 (file)
@@ -1,3 +1,3 @@
 
 &DEPFILES += $(patsubst %.o,%.d,$(&OBJECTS))
-include $(&DEPFILES)
+-include $(&DEPFILES)
index e08de6e..000417f 100755 (executable)
@@ -194,10 +194,11 @@ sub process_tree() {
     foreach my $v (qw(top_srcdir abs_top_srcdir)) {
        o "$v=\@$v@\n";
     }
-    o "include Subdir.mk\n";
+    o "MAKEFILES += Subdir.mk\n";
     foreach my $subdir (@subdirs) {
-       o "include $subdir/Subdir.mk\n";
+       o "MAKEFILES += $subdir/Subdir.mk\n";
     }
+    o "include \$(MAKEFILES)";
 }
 
 build_tree();