summaryrefslogtreecommitdiffstats
path: root/src/glut/glx
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2010-07-20 15:59:56 -0700
committerCarl Worth <[email protected]>2010-07-21 13:19:33 -0700
commit9d1a61efbecfb0093887ebe14b4aff4e7f6aeb85 (patch)
tree12645956b19980bf43ee7dd5f3c1c8eb545f0efc /src/glut/glx
parent171a25eaba5c29a5f14e472ca1860a6de248c6b2 (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).
Diffstat (limited to 'src/glut/glx')
-rw-r--r--src/glut/glx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/Makefile b/src/glut/glx/Makefile
index 6889cd4b402..69f8052c092 100644
--- a/src/glut/glx/Makefile
+++ b/src/glut/glx/Makefile
@@ -137,4 +137,4 @@ depend: $(SOURCES)
@ $(MKDEP) $(MKDEP_OPTIONS) -I$(TOP)/include $(SOURCES) \
$(X11_INCLUDES) > /dev/null
-include depend
+-include depend