diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-07-22 18:19:30 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-07-22 18:19:30 +0000 |
commit | c45efc27a8f5a0e2e0d98c83d94a20e661d8472d (patch) | |
tree | 14a8cd73713a716ef0ede65c412796b21ee89dd3 | |
parent | 1dea541ca37308e73b2142bd1ead841e14e3a62e (diff) |
Don't include dependency files if no_deps is set.
-rw-r--r-- | Makeconf | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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. |