From c45efc27a8f5a0e2e0d98c83d94a20e661d8472d Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Sat, 22 Jul 1995 18:19:30 +0000 Subject: Don't include dependency files if no_deps is set. --- Makeconf | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- cgit v1.2.3