summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-07-20 15:59:56 -0700
committerCarl Worth <cworth@cworth.org>2010-07-21 13:19:33 -0700
commit18e4f13f87938b476b4235a5de04221e0f4028e1 (patch)
treee5d271c9c858f4990808acc90645ff5cf40c626a
parent9c1f95635d1368bb5d832cbf71b571fb2ed16d77 (diff)
Makefiles: Don't complain if depend file to be included doesn't exist.
While bootstrapping the dependencies, make will see the "include depend" directive before the depend file has been created. To avoid a spurious warning in this case we use "-include" instead, (which differs precisely in the fact that it will not emit a diagnostic if the named file does not exist).
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 39352f0..776b1aa 100644
--- a/Makefile
+++ b/Makefile
@@ -71,4 +71,4 @@ depend: $(GLW_SOURCES)
$(X11_INCLUDES) > /dev/null
-include depend
+-include depend