summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makeconf8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makeconf b/Makeconf
index d87a71c6..dd5c3f80 100644
--- a/Makeconf
+++ b/Makeconf
@@ -268,6 +268,12 @@ FORCE:
# How to build automatic dependencies
+# Don't include dependencies if $(no_deps) is set; the master makefile
+# does this for clean and other such targets that don't need
+# dependencies. That then avoids rebuilding dependencies.
+
+ifneq ($(no_deps),t)
+
# For each file generated by MiG we need a .d file.
# These lines assume that every Makefile that uses a foo_S.h or foo_U.h file
# also mentions the associated fooServer.o or fooUser.o file.
@@ -279,6 +285,8 @@ include $(subst User.o,.miguh_d,$(filter %User.o,$(OBJS))) /dev/null
# For each .o file we need a .d file.
include $(subst .o,.d,$(OBJS)) /dev/null
+endif
+
# Here is how to build those dependency files
# Dependencies for fooServer.c files.