summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-02-03 15:53:55 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:32 +0200
commit87fd86bce4c2de15d9869624e119943a8b20588d (patch)
tree7b529ba419a4717ae1d39c07ce3d3fe855090ff6
parenta9c53706c7913820fbb27c0f42ab0793340d41ed (diff)
2006-02-03 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.in: Set no_deps to true if we don't need the dependency files. * i386/linux/Makefile.in: Do care about linux-flags if no_deps is true; reverting the change from 2006-01-31.
-rw-r--r--Makerules.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makerules.in b/Makerules.in
index 864bdf3..b0dfc35 100644
--- a/Makerules.in
+++ b/Makerules.in
@@ -103,6 +103,11 @@ ASFLAGS += -DASSEMBLER
# Dependency generation
#
+# Don't build and include dependency files if they're not needed.
+ifeq ($(strip $(filter-out %clean, $(MAKECMDGOALS))),)
+no_deps = t
+endif
+
# Include dependency files
ifneq ($(no_deps),t)