From ce8de5a5e42e47aacb7a0d8042c6a305cdac47d7 Mon Sep 17 00:00:00 2001 From: Mark Riddoch Date: Thu, 27 Jun 2013 12:44:45 +0200 Subject: [PATCH] Fixed makefile rules for make depend so that it will always run --- core/Makefile | 4 +--- modules/protocol/Makefile | 4 +--- modules/routing/Makefile | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/core/Makefile b/core/Makefile index fde4f182e..5b2bbd930 100644 --- a/core/Makefile +++ b/core/Makefile @@ -51,9 +51,7 @@ clean: tags: ctags $(SRCS) $(HDRS) -depend: depend.mk - -depend.mk: $(SRCS) +depend: @rm -f depend.mk cc -M $(CFLAGS) $(SRCS) > depend.mk diff --git a/modules/protocol/Makefile b/modules/protocol/Makefile index ac6567489..8fb07918f 100644 --- a/modules/protocol/Makefile +++ b/modules/protocol/Makefile @@ -56,9 +56,7 @@ tags: install: $(MODULES) install -D $< $(DEST)/gateway/modules -depend: depend.mk - -depend.mk: $(SRCS) +depend: rm -f depend.mk cc -M $(CFLAGS) $(SRCS) > depend.mk diff --git a/modules/routing/Makefile b/modules/routing/Makefile index b015d4794..f979b48e3 100644 --- a/modules/routing/Makefile +++ b/modules/routing/Makefile @@ -52,9 +52,7 @@ clean: tags: ctags $(SRCS) $(HDRS) -depend: depend.mk - -depend.mk: $(SRCS) +depend: @rm -f depend.mk cc -M $(CFLAGS) $(SRCS) > depend.mk