From 958602c5b7fd983198a09951bdfd45bf2664fc99 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 3 Feb 2006 15:53:55 +0000 Subject: 2006-02-03 Thomas Schwinge * 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. --- Makerules.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makerules.in') 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) -- cgit v1.2.3